Esempio n. 1
0
 void EnableOrDisableMenu(bool menu_is_on)
 {
     menu_is_shown = menu_is_on;
     menu.SetActive(menu_is_shown);
     if (menu_is_shown)
     {
         DungeonMaster.Pause();
     }
     else
     {
         DungeonMaster.Resume();
     }
 }
Esempio n. 2
0
 public void MoveToLevel(int level)
 {
     StartCoroutine(FadeToBlackAndRestart(level));
     DungeonMaster.Pause();
 }
Esempio n. 3
0
 public void RespawnLevel()
 {
     StartCoroutine(FadeToBlackAndRestart(SceneManager.GetActiveScene().buildIndex));
     DungeonMaster.Pause();
 }