Exemplo n.º 1
0
        IEnumerator IntroTimeline()
        {
            fadeSystem.soundFadeIn(audioSource, 10f);
            yield return(new WaitForSeconds(1.5f));

            //fadeSystem.textFadeOut(title,5f);
            fadeSystem.textFadeOutRetro(title, 0.1f, 0.5f);
            yield return(new WaitForSeconds(2f));

            fadeSystem.imageFadeOutRetro(startButton, 0.1f, 0.25f);
            //fadeSystem.textFadeOutRetro(startButton,0.1f,0.1f);
            fadeSystem.imageFadeOutRetro(exitButton, 0.1f, 0.25f);
            //fadeSystem.textFadeOutRetro(exitButton,0.1f,0.1f);
        }