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(); } }); } })); } }
private void Awake() { instance = this; }