Summary
Returns a list containing the `node` and all of its children (recursively).
- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.BehaviourTrees - Containing Type
- Behaviour
Tree Utilities
Syntax
public static List<IBehaviourNode> GetChildren(this IBehaviourNode node)
Remarks
The list is retrieved using
ObjectPool.AcquireList<T>
.Parameters
Name | Type | Description |
---|---|---|
node | IBehaviourNode |
Return Value
Type | Description |
---|---|
List |