 | TaskNodeCreateChildNode Method |
Creates a child node of this one.
Namespace: Slash.AI.BehaviorTrees.TreeAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxpublic TaskNode CreateChildNode(
ITask childTask,
int childIndex
)
Public Function CreateChildNode (
childTask As ITask,
childIndex As Integer
) As TaskNode
public:
TaskNode^ CreateChildNode(
ITask^ childTask,
int childIndex
)
member CreateChildNode :
childTask : ITask *
childIndex : int -> TaskNode
Parameters
- childTask
- Type: Slash.AI.BehaviorTrees.InterfacesITask
Task in the child node. - childIndex
- Type: SystemInt32
Index of the child node.
Return Value
Type:
TaskNode Child node of this one.
See Also