Esempio n. 1
0
 void StartGame()
 {
     Debug.Log("Jogar");
     Permanente.Resete();
     //Application.LoadLevel(1);
     SceneManager.LoadScene(1);
 }
Esempio n. 2
0
 void Start()
 {
     if (instance != null)
     {
         GameObject.Destroy(gameObject);
     }
     else
     {
         GameObject.DontDestroyOnLoad(gameObject);
         instance = this;
     }
 }