IEnumerator CoroutineDefeated() { yield return(new WaitForSeconds(3.0f)); _mainSceneManager.GameOver(); }