Ejemplo n.º 1
0
    IEnumerator Bottom()
    {
        Mus_fade = false;
        Shady_C.SetActive(true);
        LOGO_fade = false;
        yield return(new WaitForSeconds(1f));

        SceneManager.LoadScene(Next_Scene);
    }
Ejemplo n.º 2
0
    //LOGO淡入淡出
    IEnumerator LOGO_Show()
    {
        yield return(new WaitForSeconds(1));

        LOGO_fade = true;
        yield return(new WaitForSeconds(3));

        LOGO_fade = false;
        yield return(new WaitForSeconds(1.5f));

        LOGO_C.SetActive(false);
        LOGO_fade  = true;
        title_jump = true;
        AS.PlayOneShot(LobbyMus);
        Mus_fade = true;
        yield return(new WaitForSeconds(1f));

        Shady_C.SetActive(false);
    }