< Summary

Class:NavMapAudioHandler
Assembly:HUDCommon
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/Common/Audio/HUDElements/NavMapAudioHandler.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:17
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Update()0%12300%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/Common/Audio/HUDElements/NavMapAudioHandler.cs

#LineLine coverage
 1using UnityEngine;
 2
 3public class NavMapAudioHandler : MonoBehaviour
 4{
 5    void Update()
 6    {
 07        if (Input.GetMouseButtonDown(0))
 8        {
 09            AudioScriptableObjects.buttonClick.Play(true);
 10        }
 11
 012        if (Input.GetMouseButtonUp(0))
 13        {
 014            AudioScriptableObjects.buttonRelease.Play(true);
 15        }
 016    }
 17}

Methods/Properties

Update()