예제 #1
0
 private void OnTutorialFinished(ConfirmationBoxAnswered confirmationBoxAnsweredEvent)
 {
     Events.instance.RemoveListener <ConfirmationBoxAnswered>(OnTutorialFinished);
     Events.instance.Raise(new TutorialToggled(false));
     SetActives();
     Events.instance.Raise(new GameRestarted());
     gameObject.SetActive(false);
 }
예제 #2
0
 private void OnSkipTutorialAnswered(ConfirmationBoxAnswered confirmationBoxAnsweredEvent)
 {
     Events.instance.RemoveListener <ConfirmationBoxAnswered>(OnSkipTutorialAnswered);
     if (confirmationBoxAnsweredEvent.answeredPositive)
     {
         Events.instance.Raise(new TutorialToggled(false));
         Events.instance.Raise(new GoInGame());
     }
 }
예제 #3
0
 private void OnConfirmationBoxAnswered(ConfirmationBoxAnswered confirmationBoxAnsweredEvent)
 {
     HideAll();
 }
예제 #4
0
 private void OnTutorialInfoReadRestart(ConfirmationBoxAnswered confirmationBoxAnsweredEvent)
 {
     Events.instance.RemoveListener <ConfirmationBoxAnswered>(OnTutorialInfoReadRestart);
     Events.instance.Raise(new GameRestarted());
 }