 | BehaviorTreeLibraryAdd Method |
Adds a behavior tree to the library and uses the passed name as its key.
Namespace: Slash.AI.BehaviorTrees.ManagementAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxpublic void Add(
string behaviorTreeName,
ITask behaviorTree
)
Public Sub Add (
behaviorTreeName As String,
behaviorTree As ITask
)
public:
void Add(
String^ behaviorTreeName,
ITask^ behaviorTree
)
member Add :
behaviorTreeName : string *
behaviorTree : ITask -> unit
Parameters
- behaviorTreeName
- Type: SystemString
Name of the behavior tree. - behaviorTree
- Type: Slash.AI.BehaviorTrees.InterfacesITask
Behavior tree.
See Also