예제 #1
0
        private void TriggerFreezeTime()
        {
            TutorialManager tutorialManager = TutorialManager.sharedInstance;

            tutorialManager.FreezeTime(freezeDelay, this);
            switch (inputType)
            {
            case InputType.Tap:
                tutorialManager.WaitForTap();
                break;

            case InputType.Flip:
                tutorialManager.WaitForFlip();
                break;

            case InputType.Dash:
                tutorialManager.WaitForDash();
                break;

            case InputType.Delay:
                tutorialManager.WaitForDelay();
                break;
            }
        }
예제 #2
0
 void Awake()
 {
     TutorialManager.Instance = this;
 }
예제 #3
0
 public TutorialAI(TutorialManager tutorialManager, SelectionManager selectionManager, ScenarioLoader scenarioLoader)
 {
     this.tutorialManager  = tutorialManager;
     this.selectionManager = selectionManager;
     this.scenarioLoader   = scenarioLoader;
 }
예제 #4
0
 private void SetSharedInstance()
 {
     sharedInstance = this;
 }
예제 #5
0
 private void Awake()
 {
     S = this;
 }