Skip to main content

Weapon Attack

The component provides the ability to perform an attack with an equipped item. It responses to selected inputs, applies Animator Modifiers, and Collider states

"Weapon Attack"

Fields#

NameDescription
Auto UnholsterAutomatically unholster weapon if holstered
DurationTime in seconds attack lasts
Target Equip SlotsSet attack to work only with specific Equip Slots
Equip Slot IdsList of Equip Slot Ids to allow this attack on
Toggle CollidersList of colliders to toggle during attacks
Trigger TypeInput(s) used to trigger attack
Button TriggerButton used to trigger attack
Key TriggerKey used to trigger attack
Mouse TriggerMouse button used to trigger attack
Animator ModsList of animation modifiers to apply on attack
On Attack StartEvent raised when attack starts
On Attack StopEvent raised when attack completes