Beispiel #1
0
    public void EndGame()
    {
        //Time.timeScale = 1.0f;
        //DesactivateEndingScreen();
        endingExitA.SetActive(true);
        gameEndedAnimation = false;

        if (level != null)
        {
            level.SetTitleScene();
        }
    }
Beispiel #2
0
 public void BackToTitle()
 {
     if (level != null)
     {
         level.SetTitleScene();
     }
 }