public static IEnumerator GameFadeIn() { GlobalAudio.GlobalAudioFadeIn(); yield return(new WaitForSeconds(.05f)); //DeacivateIntro(); PostProcessControl.OpeningFadeEffect(-10, 0, .02f); }
public static IEnumerator StartLogo() { yield return(new WaitForSeconds(_logoSceneTimer)); PostProcessControl.OpeningFadeEffect(0, -10f, .025f); GlobalAudio.GlobalAudioFadeOut(); yield return(new WaitForSeconds(2f)); _sceneToLoad.SetActive(true); }
public static IEnumerator StartIntro() { //print("calling start intro co routine"); _introEnvironment.SetActive(true); yield return(new WaitForSeconds(_introSceneTimer)); PostProcessControl.OpeningFadeEffect(0, -10, .01f); GlobalAudio.GlobalAudioFadeOut(); yield return(new WaitForSeconds(3f)); _sceneToLoad.SetActive(true); //DeacivateIntro(); }