Table of Contents

Namespace ElectricDrill.AstraRpgFramework.GameActions.Actions

Classes

CompositeGameAction<TContext>

Executes a list of actions in sequence. Useful for chaining multiple behaviors (e.g., play sound, wait, disable object). Will gracefully terminate if the context is destroyed or cancellation is requested.

ConditionalGameAction<TContext>

Wraps another GameAction<TContext> with an optional Condition guard. If the condition evaluates to false, the inner action is skipped. A null condition is treated as always-true.

DelayedGameAction<TContext>

Waits for a specified duration before executing another action.

DestroyEntityGameObjectGameAction<TContext>

Base action to destroy the Entity's GameObject.

DestroyGameObjectGameAction<TContext>

Base action to destroy a Component's GameObject.

DoNothingGameAction<TContext>

An action that does nothing. Useful as a placeholder or default value.

IncreaseCounterGameAction<TContext>
ToggleActiveGameObjectGameAction<TContext>

Base action to set the active state of a Component's GameObject.

ToggleCollidersGameAction<TContext>

Base action to enable/disable all Colliders on a Component's GameObject.

ToggleEntityActiveGameObjectGameAction<TContext>

Base action to set the active state of the Entity's GameObject.

ToggleEntityCollidersGameAction<TContext>

Base action to enable/disable all Collider and Collider2D components found on the Entity's GameObject and its children.

ToggleEntityRenderersGameAction<TContext>

Base action to enable/disable all Renderer components found on the Entity's GameObject and its children.

ToggleHarvestedExpSourceGameAction<TContext>

Base generic game action for toggling the harvested state of ExpSource components. Sets the Harvested flag based on the _enable field, allowing control over whether the experience source can be collected.

ToggleRenderersGameAction<TContext>

Base action to enable/disable all Renderers on a Component's GameObject.