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