Example #1
0
        IEnumerator GameStartTimeline()
        {
            fadeSystem.soundFadeOut(audioSource, 3f);
            fadeSystem.textFadeInRetro(title, 0.1f, 0.3f);
            fadeSystem.imageFadeInRetro(fadeImage, 0.1f, 0.3f);
            fadeSystem.imageFadeInRetro(startButton, 0.1f, 0.25f);
            fadeSystem.imageFadeInRetro(exitButton, 0.1f, 0.25f);
            yield return(new WaitForSeconds(3.5f));

            SceneManager.LoadScene("Map1");
        }