< Summary

Class:RaycastPointerClickProxy
Assembly:GenericPointers
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Interfaces/GenericPointers/RaycastPointerClickProxy.cs
Covered lines:0
Uncovered lines:3
Coverable lines:3
Total lines:13
Line coverage:0% (0 of 3)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Interfaces/GenericPointers/RaycastPointerClickProxy.cs

#LineLine coverage
 1using System;
 2using UnityEngine;
 3
 4public class RaycastPointerClickProxy : MonoBehaviour, IRaycastPointerClickHandler
 5{
 6    public event Action OnClick;
 7
 8    public void OnPointerClick()
 9    {
 010        if (!Cursor.visible)
 011            OnClick?.Invoke();
 012    }
 13}

Methods/Properties

OnPointerClick()