예제 #1
0
    private IEnumerator StartBattle()
    {
        gameController.GetComponent <Ariadne.MoveController>().setMovable(false);
        fadeManager.FadeOut();
        var waitTime = new WaitForSeconds(fadeManager.fadeTime);

        yield return(waitTime);


        for (int i = 0; i < enemyPartyData.Length; i++)
        {
            setEnemyData(i + 5, enemyPartyData[i]);
        }

        uiController.showBattleUI(true);

        fadeManager.FadeIn();
        yield return(waitTime);

        FinishTurn();
        yield return(null);
    }