public void AttackStart() { anim.SetTrigger("attack"); sfx.Play(sfx.clipAttackMelee); attacking = true; movement.enabled = false; }
public override void TakeHit(float damage) { if (dead) { return; } sfx.Play(sfx.clipsHit); if (controller.stats.shield) { controller.stats.shield = false; return; } Die(); }