Ejemplo n.º 1
0
    IEnumerator Scene10()
    {
        dailyData10.title.SetActive(false);
        dailyData10.black.SetActive(true);
        PerformSystem.ShowTextToPerformForSeconds("「爷爷,为什么要给一块石头建一座庙呀?」", 5);
        yield return(new WaitForSeconds(5));

        PerformSystem.ShowTextToPerformForSeconds("「那可不是普通的石头。那是龙的化身!」", 4);
        yield return(new WaitForSeconds(4));

        dailyData10.title.SetActive(true);
        PerformSystem.FadeIn(dailyData10.title, 1.5f, 1);
        yield return(new WaitForSeconds(2));

        PerformSystem.FadeOut(dailyData10.black, 4);
        yield return(new WaitForSeconds(5));

        PerformSystem.FadeOut(dailyData10.title, 1.5f);
        yield return(new WaitForSeconds(1));

        PerformSystem.ShowTextToPerformForSeconds("「它灵吗?」", 3, new Vector2(4, 0));
        yield return(new WaitForSeconds(2));

        PerformSystem.ShowTextToPerformForSeconds("「当然了,心够诚,龙就能听到你的心愿。」", 5, new Vector2(6, -2));
        yield return(new WaitForSeconds(4));

        PerformSystem.FadeOut(dailyData10.theGuy, 1);
        yield return(new WaitForSeconds(2));

        ChangeState(new State11());
    }