Пример #1
0
 public void LoadInstant()
 {
     if (PlayerPrefs.GetString("Node") == "Start" && PlayerPrefs.GetInt("Line") == 0)
     {
         MenuChange("StartMenu");
         StartMenuBackButton.SetActive(false);
         StopAllCoroutines();
         StartCoroutine(FadeMusic(false));//starts the fade out effect and after that async loading
     }
     else
     {
         StartMenuBackButton.SetActive(true);
         AnimSys.StartAnimations();
         MenuChange("StartMenu");
     }
 }