private static IEnumerator FadeOutMainMenu() { FadeMusic.FadeOutMusic(); SceneChanger.FadeToScene(); yield return(new WaitForSeconds(1)); SceneManager.LoadScene("MainMenuBox"); }
private static IEnumerator FadeOutExit() { FadeMusic.FadeOutMusic(); SceneChanger.FadeToScene(); yield return(new WaitForSeconds(1)); Application.Quit(); }
private static IEnumerator NextScene() { FadeMusic.FadeOutMusic(); SceneChanger.FadeToScene(); yield return(new WaitForSeconds(1)); SceneChanger.NextScene(); }