Exemple #1
0
 private void Update()
 {
     if (ThePigeonIsGone || Input.GetKeyDown(KeyCode.End))
     {
         ThePigeonIsGone = false;
         StartCoroutine(FadeOut(sceneCover, flag =>
         {
             if (flag)
             {
                 TypedInfo.TypeMessage(message, textOutput, allTextDisplayed =>
                 {
                     if (allTextDisplayed)
                     {
                         LoadMainMenu();
                     }
                 });
             }
         }));
     }
 }
Exemple #2
0
 private void Awake()
 {
     instance = this;
 }