 | BehaviorTreeLibraryTryGet Method |
Tries to get the behavior tree with the passed name from this library.
Namespace: Slash.AI.BehaviorTrees.ManagementAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxpublic bool TryGet(
string behaviorTreeName,
out ITask behaviorTree
)
Public Function TryGet (
behaviorTreeName As String,
<OutAttribute> ByRef behaviorTree As ITask
) As Boolean
public:
bool TryGet(
String^ behaviorTreeName,
[OutAttribute] ITask^% behaviorTree
)
member TryGet :
behaviorTreeName : string *
behaviorTree : ITask byref -> bool
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