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