private void OnPlayerHit(AttackType type) { if (type.IsDefending()) { return; } _roboAnimator.SetTrigger(_hitTriggerHash); }