예제 #1
0
 public IdleState(HeroController hero, HeroStateMachine fsm)
     : base(hero, fsm)
 {
     animator = hero.GetComponent <Animator>();
 }
예제 #2
0
 public HeroState(HeroController hero, HeroStateMachine fsm)
 {
     this.hero = hero;
     this.fsm  = fsm;
 }