< Summary

Class:MapRendererAudioHandler
Assembly:MapRenderer
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/MapRenderer/MapRendererAudioHandler.cs
Covered lines:1
Uncovered lines:1
Coverable lines:2
Total lines:16
Line coverage:50% (1 of 2)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Awake()0%110100%
OnMovedParcelCursor()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/MapRenderer/MapRendererAudioHandler.cs

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5public class MapRendererAudioHandler : MonoBehaviour
 6{
 7    [SerializeField]
 8    DCL.MapRenderer mapRenderer;
 9
 10    [SerializeField]
 11    AudioEvent eventMapParcelHighlight;
 12
 2013    private void Awake() { mapRenderer.OnMovedParcelCursor += OnMovedParcelCursor; }
 14
 015    public void OnMovedParcelCursor() { eventMapParcelHighlight.Play(true); }
 16}

Methods/Properties

Awake()
OnMovedParcelCursor()