public static FlyingEnemyMoveState Create()
        {
            FlyingEnemyMoveState state = ReferencePool.Acquire <FlyingEnemyMoveState>();

            return(state);
        }
コード例 #2
0
 protected override void AddFsmState()
 {
     stateList.Add(FlyingEnemyMoveState.Create());
     stateList.Add(FlyingEnemyPushingThroughState.Create());
     stateList.Add(EnemyAttackHomeBaseState.Create());
 }