Ejemplo n.º 1
0
    IEnumerator PlaySecondEnd()
    {
        gameMode = GameMode.RESULT;
        playerProvider.MoveStop();
        unitychanProvider.LightOn();
        yield return(null);

        playerProvider.Stopping();
        yield return(StartCoroutine(playerProvider.LookRight()));

        yield return(new WaitForSeconds(1f));

        playerProvider.PlaySecondEnd();
        yield return(StartCoroutine(dropTrap.Drop()));

        yield return(new WaitForSeconds(1f));

        resultSystem.ShowPhrase("キョリ ケンガイ");
        yield return(new WaitForSeconds(1.5f));

        resultSystem.ShowComment("セカンドエンド 「コウスルシカ ナイノ」 \nゲームクリア");
        resultSystem.ShowRetryButton();

        yield return(new WaitForSeconds(4.5f));

        resultSystem.ShowAd();
    }