예제 #1
0
 protected override void OnExitTutorialMenu(ExitTutorialMenu exitTutorialMenuEvent)
 {
     if (_tutorialWillForcePlay)
     {
         if (exitTutorialMenuEvent.exitToPlay)
         {
             Events.instance.Raise(new ShowWarningBox("Do you really want to skip the tutorial?"));
             Events.instance.AddListener <ConfirmationBoxAnswered>(OnSkipTutorialAnswered);
         }
         else
         {
             ActivateMenu(mainMenu);
         }
     }
     else
     {
         Events.instance.Raise(new EnterSettingsMenu());
     }
 }
예제 #2
0
 protected override void OnExitTutorialMenu(ExitTutorialMenu exitTutorialMenuEvent)
 {
     Events.instance.Raise(new EnterSettingsMenu());
 }
예제 #3
0
 protected abstract void OnExitTutorialMenu(ExitTutorialMenu exitTutorialMenuEvent);