Class: BackgroundSequence

Composites. BackgroundSequence

The BackgroundSequence node is suitable for performing background tasks or target transformations. It executes its children sequentially until one of them returns `FAILURE`, `RUNNING` or `ERROR`. If all children return success , the sequence also returns `SUCCESS`. On every tick, it restarts from child 0. Put background subtrees first

new BackgroundSequence()

Methods


validators()

defines validation methods to execute at the editor; if one of them fails, a dashed red border is displayed for the node
Returns:
Type
Array.<Validator>