ActionSequence

Executes a list of actions sequentially.

Definition

Namespace: Paragon.Core.ActionSystem Assembly: Paragon.dll

public class ActionSequence : Action, IEnumerable<Action>

Inheritance: ObjectActionActionSequence Implements: IAction, IEnumerable<Action>

Remarks

ActionSequence executes each child action in order, waiting for each to complete before starting the next. It inherits all lifecycle methods from Action.

Example

// In Inspector, add multiple actions to the sequence
// They will execute one after another

ActionSequence sequence = new ActionSequence();
await sequence.ExecuteAsync();
// All child actions execute in order

Behavior

  • Executes each action using await action.ExecuteAsync()

  • Waits for completion before proceeding to the next action

  • Supports foreach enumeration

See Also

Last updated

Was this helpful?