void Update() { if (showingFailedMessage && Input.GetKeyDown(KeyCode.C)) { instance.StartCoroutine(instance.RetryMission()); } if (showingFailedMessage && Input.GetKeyDown(KeyCode.X)) { instance.AbortMission(); } if (showingFireworks) { SetFireworkPosition(); } }