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