public void PlayGame()
 {
     // do some scene loading stuff here
     //SceneManager.LoadScene("Dungeon");
     GameStores.ResetState();
     SceneManager.LoadScene("IntroScene");
     //print("Loading the scene!");
 }
Exemple #2
0
 public void OnTriggerEnter2D(Collider2D collision)
 {
     GameStores.ResetState();
     SceneManager.LoadScene(0);
 }