protected override void WeaponDamage(Damage damage) { AudioHurt.Play(); Controller.Animator.onStop.AddListener(Restore); Controller.Animator.Play("Die", true); m_rigidbody.isKinematic = true; enabled = false; Controller.Life = 0; }
protected override void WeaponDamage(Damage damage) { Flip(); AudioHurt.Play(); Controller.Damage(damage); }