ActionSequence
Executes a list of actions sequentially.
Definition
Namespace: Paragon.Core.ActionSystem
Assembly: Paragon.dll
public class ActionSequence : Action, IEnumerable<Action>Inheritance: Object → Action → ActionSequence
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 orderBehavior
Executes each action using
await action.ExecuteAsync()Waits for completion before proceeding to the next action
Supports
foreachenumeration
See Also
Last updated
Was this helpful?