public IdleState(HeroController hero, HeroStateMachine fsm) : base(hero, fsm) { animator = hero.GetComponent <Animator>(); }
public HeroState(HeroController hero, HeroStateMachine fsm) { this.hero = hero; this.fsm = fsm; }