public void LoadMainMenu() { Time.timeScale = 1f; timer.ResetTimer(); if (pauseMenu != null) { pauseMenu.ChangeGameISPaused(false); } SceneManager.LoadScene("Main Menu"); }