| | 1 | | using System.Collections; |
| | 2 | | using UnityEngine; |
| | 3 | |
|
| | 4 | | namespace 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 | | { |
| 1 | 13 | | base.OnStepStart(); |
| | 14 | |
|
| 1 | 15 | | CommonScriptableObjects.featureKeyTriggersBlocked.Set(true); |
| | 16 | |
|
| 1 | 17 | | tutorialController?.hudController?.taskbarHud?.SetVisibility(false); |
| 1 | 18 | | tutorialController?.hudController?.profileHud?.SetBackpackButtonVisibility(false); |
| 0 | 19 | | } |
| | 20 | |
|
| 5 | 21 | | public override IEnumerator OnStepExecute() { yield return new WaitUntil(() => mouseCatcher == null || mouseCatc |
| | 22 | | } |
| | 23 | | } |