Click or drag to resize
BehaviorTreeLibraryTryGet Method
Tries to get the behavior tree with the passed name from this library.

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

Parameters

behaviorTreeName
Type: SystemString
Behavior tree name.
behaviorTree
Type: Slash.AI.BehaviorTrees.InterfacesITask
Behavior tree.

Return Value

Type: Boolean
True if a behavior tree was found, else false.
See Also