Пример #1
0
 void ShowMenuDelayed()
 {
     menu.ShowWinMenu();
     if (lastLevel)
     {
         SavegameManager.CleanSave();
     }
     else
     {
         game.Save();
     }
 }
Пример #2
0
 public void NewGame()
 {
     SavegameManager.CleanSave();
     SceneManager.LoadScene(firstLevel);
     Time.timeScale = 1f;
 }