public static FlyingEnemyMoveState Create() { FlyingEnemyMoveState state = ReferencePool.Acquire <FlyingEnemyMoveState>(); return(state); }
protected override void AddFsmState() { stateList.Add(FlyingEnemyMoveState.Create()); stateList.Add(FlyingEnemyPushingThroughState.Create()); stateList.Add(EnemyAttackHomeBaseState.Create()); }