BP_Digging_Component is a reusable Actor Component designed to provide plug-and-play digging functionality to any actor.
It encapsulates all the logic required to interact with excavable areas, including validation, stamina management, cooldowns, and line tracing.
The goal of this component is to allow developers to enable digging mechanics without duplicating logic across characters, tools, or machines.

For the component to work correctly,the owning actor mus meet the following requirements:

canDig (Boolean)
Global flag that enables or disables digging for this actor.
useStamina (Boolean)
Enables or disables stamina consumption logic.
inCooldown (Boolean)
Indicates whether the component is currently in a dig cooldown state.