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; }
public IdleState(ConditionUpdateDelegate func, OnEnterStateDelegate funcEnter, OnExitStateDelegate funcExit, Entity entity, GameObject entitygo, StateMachine stateMachine, string animBoolName) : base(func, funcEnter, funcExit, entity, entitygo, stateMachine, animBoolName) { }