public void MainMenu() { GameManager.Instance.Playing(true); RespawnData.Reset(); SceneManager.LoadScene("MainMenu"); }
// public GameObject tutorialPanel; public void Play() { GameManager.Instance.Playing(true); RespawnData.Reset(); SceneManager.LoadScene("Chapter1"); }
public void RestartLevel() { GameManager.Instance.Playing(true); RespawnData.Reset(); SceneManager.LoadScene(SceneManager.GetActiveScene().name); }