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