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