Class InterruptAction
Action that interrupts the target character's current ability or action.
[Serializable]
public class InterruptAction : BaseAction, IAction
- Inheritance
-
InterruptAction
- Implements
- Inherited Members
Methods
Execute(ICharacter, EventData)
Interrupts the target character's current ability or action.
public override void Execute(ICharacter initiator, EventData eventData)
Parameters
initiatorICharacterThe character initiating the action.
eventDataEventDataThe event data containing the target information.
Remarks
Resolves the target via TryResolveTarget(EventData, out ICharacter) and interrupts that target's ability controller.