private IEnumerator SetGameOverCo() { player.FreezePlayer(); isGameOver = true; yield return(new WaitForSeconds(delayToShowGameOver)); ShowUI(gameOverPanel); }