Class HasActiveModifierTagCondition
- Namespace
- ElectricDrill.AstraRpgFramework.Conditions
- Assembly
- com.electricdrill.astra-rpg-framework.Runtime.dll
Condition that evaluates to true when at least one active modifier on
Holder carries all tags in ElectricDrill.AstraRpgFramework.Conditions.HasActiveModifierTagCondition._tags.
Requires an IActiveModifierTagProvider component on the holder's
GameObject (typically provided by the Modifiers package). Returns false
when the holder is null or lacks the component.
[Serializable]
[TypeSelectableMenu("Leaf/Tag")]
public class HasActiveModifierTagCondition : Condition
- Inheritance
-
objectHasActiveModifierTagCondition
Methods
Evaluate(EvaluationContext)
Evaluates this condition against the provided context.
public override bool Evaluate(EvaluationContext ctx)
Parameters
ctxEvaluationContextContextual data available to the condition (holder, performer, payload).
Returns
- bool
trueif the condition is satisfied; otherwisefalse.