Esempio n. 1
0
 public void TransitionToNewScene(string sceneName, bool showIntro)
 {
     CommonObjects.showIntro = showIntro;
     Time.timeScale          = 1;
     SceneManager.LoadScene(sceneName, LoadSceneMode.Single);
     CommonObjects.Refresh();
 }
Esempio n. 2
0
 void Start()
 {
     CommonObjects.Refresh();
     if (CommonObjects.showIntro)
     {
         directions.SetActive(true);
     }
     else
     {
         BeginGame();
     }
 }