Click or drag to resize
BehaviorTreeLibrarySet Method
Sets a behavior tree to the library and uses the passed name as its key. Overwrites a behavior tree if the library already contains a behavior tree with the passed name.

Namespace: Slash.AI.BehaviorTrees.Management
Assembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntax
public void Set(
	string behaviorTreeName,
	ITask behaviorTree
)

Parameters

behaviorTreeName
Type: SystemString
Name of the behavior tree.
behaviorTree
Type: Slash.AI.BehaviorTrees.InterfacesITask
Behavior tree.
See Also