IEnumerator DisplayVictoryScreen() { yield return(new WaitForSeconds(timeBeforeDisplayVictory)); VictoryScreen.SetActive(true); pauseScript.PauseGame(); }
public void DeathTrigger() { gameOverScreen.SetActive(true); music.Stop(); gameManager.PauseGame(); }