MyTreeBuilder.Splice Method

Fight Game AI Demo

MyTreeBuilderSplice Method
Splice a sub tree into the parent tree.

Namespace: FightGameAIDemo.Behavior_Tree
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public MyTreeBuilder Splice(
	IMyBehaviourTreeNode subTree
)

Parameters

subTree
Type: FightGameAIDemo.Behavior_TreeIMyBehaviourTreeNode
The sub tree.

Return Value

Type: MyTreeBuilder
MyTreeBuilder
Exceptions
ExceptionCondition
ArgumentNullExceptionsubTree
ApplicationExceptionCan't splice an unnested sub-tree, there must be a parent-tree.
See Also