Example #1
0
 public State(ConditionUpdateDelegate func, OnEnterStateDelegate funcEnter, OnExitStateDelegate funcExit, Entity entity, GameObject entitygo, StateMachine stateMachine, string animBoolName)
 {
     this.entity = entity;
     this.conditionUpdateDelegate = func;
     this.onEnterStateDelegate    = funcEnter;
     this.onExitStateDelegate     = funcExit;
     this.animator     = entity.animator;
     this.stateMachine = stateMachine;
     this.animBoolName = animBoolName;
 }
Example #2
0
 public IdleState(ConditionUpdateDelegate func, OnEnterStateDelegate funcEnter, OnExitStateDelegate funcExit, Entity entity, GameObject entitygo, StateMachine stateMachine, string animBoolName) : base(func, funcEnter, funcExit, entity, entitygo, stateMachine, animBoolName)
 {
 }