public void ReturnToMenu() { levelPasser = GameObject.FindObjectOfType <LevelPasser>(); levelPasser.resetFloor(); SceneManager.LoadScene("MainMenu"); }
public void RestartGame() { levelPasser = GameObject.FindObjectOfType <LevelPasser>(); levelPasser.resetFloor(); SceneManager.LoadScene("SampleScene"); }