IEnumerator FadeAndLoadRoutine() { LevelLoader.LoadMainMenuLevel(); yield return(new WaitForSeconds(waitToFade)); screenFader.Fadeoff(); yield return(new WaitForSeconds(screenFader.FadeDuration)); Object.Destroy(gameObject); }