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