示例#1
0
    IEnumerator DisplayVictoryScreen()
    {
        yield return(new WaitForSeconds(timeBeforeDisplayVictory));

        VictoryScreen.SetActive(true);
        pauseScript.PauseGame();
    }
示例#2
0
 public void DeathTrigger()
 {
     gameOverScreen.SetActive(true);
     music.Stop();
     gameManager.PauseGame();
 }