Class AbilityApplyAreaAction
Action that applies an ability effect to all targets within a specified area.
[Serializable]
public class AbilityApplyAreaAction : BaseAction, IAction
- Inheritance
-
AbilityApplyAreaAction
- Implements
- Inherited Members
Fields
MaxHitsValue
The value provider that determines the maximum number of hits to process in the area.
[Tooltip("The value provider that determines the maximum number of hits.")]
[SerializeReference]
public IIntValueProvider MaxHitsValue
Field Value
RadiusValue
The value provider that determines the radius of the area effect.
[Tooltip("The value provider that determines the radius of the area effect.")]
[SerializeReference]
public IFloatValueProvider RadiusValue
Field Value
TargetLayerMask
Layer mask to filter targets in the area.
[Tooltip("Layer mask to filter targets in the area.")]
public LayerMask TargetLayerMask
Field Value
- LayerMask
Methods
Execute(ICharacter, EventData)
Executes the area effect, applying the ability to all valid targets within the radius.
public override void Execute(ICharacter initiator, EventData eventData)
Parameters
initiatorICharacterThe character initiating the action.
eventDataEventDataEvent data containing context for the action.