Exemple #1
0
 public void exitToMenu()
 {
     SeedQuest.Level.LevelManager.Instance.StopLevelMusic();
     MenuScreenManager.ActivateStart();
     gameObject.SetActive(false);
     GameManager.GraduatedMode = false;
 }
Exemple #2
0
 public void GoToStartScreen()
 {
     SeedQuest.Level.LevelManager.Instance.StopLevelMusic();
     if (GameManager.V2Menus)
     {
         MenuScreenV2.Instance.GoToStart();
     }
     else
     {
         MenuScreenManager.ActivateStart();
     }
     gameObject.SetActive(false);
     GameManager.GraduatedMode = false;
 }
Exemple #3
0
 public void ExitToMainMenu()
 {
     SeedQuest.Level.LevelManager.Instance.StopLevelMusic();
     InteractablePathManager.Reset();
     if (GameManager.V2Menus)
     {
         MenuScreenV2.Instance.GoToStart();
     }
     else
     {
         MenuScreenManager.ActivateStart();
     }
     //gameObject.SetActive(false);
     animator.Play("SlideDown");
     GameManager.GraduatedMode = false;
 }
Exemple #4
0
 public void GoToStartScreen()
 {
     MenuScreenManager.ActivateStart();
     gameObject.SetActive(false);
 }