public void Attack() { if (characterCombat.Attackable() && EquipmentManager.instance.CurrentEquipment) { animator.SetTrigger("attack_1"); if (isInteracting && (interactable.interactableType == InteractableType.Resource || interactable.interactableType == InteractableType.Enemy)) { interactable.Interact(); } characterCombat.ResetCooldown(); } }