Ejemplo n.º 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);
 }
Ejemplo n.º 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());
     }
 }
Ejemplo n.º 3
0
 private void OnConfirmationBoxAnswered(ConfirmationBoxAnswered confirmationBoxAnsweredEvent)
 {
     HideAll();
 }
Ejemplo n.º 4
0
 private void OnTutorialInfoReadRestart(ConfirmationBoxAnswered confirmationBoxAnsweredEvent)
 {
     Events.instance.RemoveListener <ConfirmationBoxAnswered>(OnTutorialInfoReadRestart);
     Events.instance.Raise(new GameRestarted());
 }