< Summary

Class:DCL.Tutorial.TutorialStep_LockTheCursor
Assembly:Onboarding
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Tutorial/Scripts/Steps/Initial/TutorialStep_LockTheCursor.cs
Covered lines:4
Uncovered lines:1
Coverable lines:5
Total lines:21
Line coverage:80% (4 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
OnStepStart()0%4.254075%
OnStepExecute()0%330100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Tutorial/Scripts/Steps/Initial/TutorialStep_LockTheCursor.cs

#LineLine coverage
 1using System.Collections;
 2
 3namespace DCL.Tutorial
 4{
 5    /// <summary>
 6    /// Class that represents the onboarding tutorial step related to how to lock/unlock the cursor.
 7    /// </summary>
 8    public class TutorialStep_LockTheCursor : TutorialStep
 9    {
 10        public override void OnStepStart()
 11        {
 112            base.OnStepStart();
 13
 114            CommonScriptableObjects.featureKeyTriggersBlocked.Set(true);
 15
 116            tutorialController?.hudController?.taskbarHud?.SetVisibility(false);
 017        }
 18
 319        public override IEnumerator OnStepExecute() { yield return new WaitUntil(() => mouseCatcher == null || mouseCatc
 20    }
 21}

Methods/Properties

OnStepStart()
OnStepExecute()