Table of Contents

Class ConditionalComponentGameAction

Namespace
ElectricDrill.AstraRpgFramework.GameActions.Actions.Component
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
object
ConditionalComponentGameAction
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

context Component

The action context (event payload).

runtimeOwner MonoBehaviour

The MonoBehaviour that owns this action invocation at runtime. Used to populate Holder. May be null in legacy ownerless execution paths.

Returns

EvaluationContext