public GC1_DefenceState(FiniteStateMachine stateMachine, Entity entity, string animName, DefenceStateData stateData, GoyeCombat1 enemy, State defaultNextState = null) : base(stateMachine, entity, animName, stateData, defaultNextState)
 {
     this.enemy      = enemy;
     cooldownTimer   = -1f;
     isCounterAttack = false;
 }
示例#2
0
 public DefenceState(FiniteStateMachine stateMachine, Entity entity, string animName, DefenceStateData data, State defaultNextState = null) : base(stateMachine, entity, animName, defaultNextState)
 {
     this.data = data;
 }