// Update is called once per frame void Update() { if (Input.GetKey(KeyCode.Escape)) { highScoreList.Save(); Application.Quit(); } }
public void ReturnMainMenu() { highScoreList.Save(); SceneManager.LoadScene(0, LoadSceneMode.Single); }