Exemplo n.º 1
0
 private void TakeDamage(AttackInfo info)
 {
     Debug.Log(info.Attacker.gameObject.name + " hits: " + this.gameObject.name);
     control.SkinnedMeshAnimator.runtimeAnimatorController = info.AttackAbility.GetDeathAnimator();
     info.CurrentHits++;
 }