 | DecoratorInsertChild Method |
Inserts a child to this group task at the passed index.
Namespace: Slash.AI.BehaviorTrees.Implementations.DecoratorsAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxpublic void InsertChild(
int index,
ITask child
)
Public Sub InsertChild (
index As Integer,
child As ITask
)
public:
virtual void InsertChild(
int index,
ITask^ child
) sealed
abstract InsertChild :
index : int *
child : ITask -> unit
override InsertChild :
index : int *
child : ITask -> unit
Parameters
- index
- Type: SystemInt32
Position to add child to. - child
- Type: Slash.AI.BehaviorTrees.InterfacesITask
Child to insert.
Implements
ICompositeInsertChild(Int32, ITask)
Exceptions
See Also