< Summary

Class:AvatarEditorCategoryToggleAudioHandler
Assembly:HUDCommon
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/Common/Audio/HUDElements/AvatarEditorCategoryToggleAudioHandler.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
OnPointerDown(...)0%12300%

File(s)

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

#LineLine coverage
 1using UnityEngine;
 2using UnityEngine.EventSystems;
 3using UnityEngine.UI;
 4
 5public class AvatarEditorCategoryToggleAudioHandler : ButtonAudioHandler
 6{
 7    public override void OnPointerDown(PointerEventData eventData)
 8    {
 09        base.OnPointerDown(eventData);
 10
 011        if (selectable != null)
 12        {
 013            if (selectable.interactable)
 014                AudioScriptableObjects.listItemAppear.ResetPitch();
 15        }
 016    }
 17}