コード例 #1
0
    //コマンド実行
    private IEnumerator CommandExecution(BattleCommand battleCommand)
    {
        //行動不可能な場合
        if (battleCommand.owner.canAction == false)
        {
            yield break;
        }

        //コマンド実行
        yield return(StartCoroutine(battleCommand.Execution()));

        yield return(BattleDirectorController.Instance.Play());

        yield break;
    }