Class ConditionalComponentGameAction
- Assembly
- com.electricdrill.astra-rpg-framework.Runtime.dll
[CreateAssetMenu(fileName = "New Conditional Component Action", menuName = "Astra RPG Framework/Game Actions/Context: Component/Conditional")]
public class ConditionalComponentGameAction : ConditionalGameAction<Component>, IExecutable<Component>, ITaggable
- Inheritance
-
objectConditionalComponentGameAction
- Implements
- Inherited Members
Methods
BuildEvaluationContext(Component, MonoBehaviour)
Builds the EvaluationContext passed to the condition from the action context.
protected override EvaluationContext BuildEvaluationContext(Component context, MonoBehaviour runtimeOwner)
Parameters
contextComponentThe action context (event payload).
runtimeOwnerMonoBehaviourThe MonoBehaviour that owns this action invocation at runtime. Used to populate Holder. May be
nullin legacy ownerless execution paths.