< 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:5
Uncovered lines:1
Coverable lines:6
Total lines:23
Line coverage:83.3% (5 of 6)
Covered branches:0
Total branches:0

Metrics

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

File(s)

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

#LineLine coverage
 1using System.Collections;
 2using UnityEngine;
 3
 4namespace DCL.Tutorial
 5{
 6    /// <summary>
 7    /// Class that represents the onboarding tutorial step related to how to lock/unlock the cursor.
 8    /// </summary>
 9    public class TutorialStep_LockTheCursor : TutorialStep
 10    {
 11        public override void OnStepStart()
 12        {
 113            base.OnStepStart();
 14
 115            CommonScriptableObjects.featureKeyTriggersBlocked.Set(true);
 16
 117            tutorialController?.hudController?.taskbarHud?.SetVisibility(false);
 118            tutorialController?.hudController?.profileHud?.SetBackpackButtonVisibility(false);
 019        }
 20
 521        public override IEnumerator OnStepExecute() { yield return new WaitUntil(() => mouseCatcher == null || mouseCatc
 22    }
 23}

Methods/Properties

OnStepStart()
OnStepExecute()