1681-engine / index / selector
Function: selector() ​
ts
function selector<C>(...children): BtNode<C>;Defined in: src/ai/behaviorTree.ts:167
Tries its children in order until one does not fail: the first that works. Resumes a running child.
Type Parameters ​
| Type Parameter |
|---|
C |
Parameters ​
| Parameter | Type |
|---|---|
...children | BtNode<C>[] |
Returns ​
BtNode<C>