void RestartScene() { mainSceneLoader = Instantiate(mainSceneLoader); mainSceneLoader.loadIndexedScene(SceneManager.GetActiveScene().buildIndex); Time.timeScale = 1; SoundManager.Instance.ApplyReverbToMusic(); }
void LoadChosenScene() { mainSceneLoader = Instantiate(mainSceneLoader); mainSceneLoader.loadNamedScene(SceneToLoad); }