Пример #1
0
 public void LoseHealth(float value)
 {
     health -= value;
     if (!IsAlive)
     {
         animationCommandController.ChangeState(eAnimationType.Death);
     }
 }
Пример #2
0
 private void IdleEntry()
 {
     debugHolder.Log("Idle Entry Called", eDebugImportance.Entry);
     animatorController.ChangeState(eAnimationType.Idle);
 }