protected override void AddFsmState()
 {
     stateList.Add(FlyingEnemyMoveState.Create());
     stateList.Add(FlyingEnemyPushingThroughState.Create());
     stateList.Add(EnemyAttackHomeBaseState.Create());
 }
示例#2
0
        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());
 }