/* * NextLevel - loads the next scene, defined in nextSceneName */ public void NextLevel() { if (interfaceHandler.IsAlive) { interfaceHandler.CannotDie(); StartCoroutine(LoadNextSceneAsync()); StartCoroutine(FadeInUI(fadeInRate)); winFilter.enabled = true; winText.enabled = true; winTextShadow.enabled = true; nextLevelPrompt.enabled = true; winningPlayer.Fly(); } }