IEnumerator gameOver() { uiController.showBattleUI(false); fadeManager.FadeOut(); yield return(new WaitForSeconds(fadeManager.fadeTime)); uiController.GameOver(); }