private IEnumerator LoseLifeCourutine() { _lives--; _ghostManager.StopGhosts(); yield return(new WaitForSeconds(_deathDelay)); if (_lives < 0) { GameOver(); } else { UI.UpdateLives(); ResetGame(); } }