Esempio n. 1
0
 public StateInfo(Transform unit, IUnitStateSwitcher switcher)
 {
     this.unit     = unit;
     this.switcher = switcher;
 }
Esempio n. 2
0
 protected BaseUnitState(StateInfo stateInfo)
 {
     _switcher = stateInfo.switcher;
     _unit     = stateInfo.unit;
 }
Esempio n. 3
0
 public AttackStateInfo(Transform unit, IUnitStateSwitcher switcher) : base(unit, switcher)
 {
     hitObject = unit;
 }