| BehaviorTreeLibrary Class |
Namespace: Slash.AI.BehaviorTrees.Management
The BehaviorTreeLibrary type exposes the following members.
| Name | Description | |
|---|---|---|
| BehaviorTreeLibrary |
Initializes a new instance of the BehaviorTreeLibrary class.
|
| Name | Description | |
|---|---|---|
| Count |
Returns the number of available behavior trees.
| |
| Entries |
Returns all available trees as a read-only list.
|
| Name | Description | |
|---|---|---|
| Add |
Adds a behavior tree to the library and uses the passed name as its key.
| |
| Contains |
Determines whether the library contains a behavior tree with the passed name.
| |
| Equals(Object) |
The equals.
(Overrides ObjectEquals(Object).) | |
| Equals(BehaviorTreeLibrary) |
The equals.
| |
| Get |
Returns the behavior tree with the passed name from this library.
| |
| GetHashCode |
The get hash code.
(Overrides ObjectGetHashCode.) | |
| Remove(String) |
Removes the behavior tree with the passed name from the library.
| |
| Remove(ITask) |
Removes the behavior tree from the library.
| |
| Set |
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.
| |
| SolveReferences |
Solves all sub tree reference tasks and replaces them by real references to the sub tree.
| |
| SolveReferences(IBehaviorTree) |
Solves all sub tree reference tasks and replaces them by real references to the sub tree.
| |
| TryGet |
Tries to get the behavior tree with the passed name from this library.
|
| Name | Description | |
|---|---|---|
| LibraryChanged |
Called when the library was changed by the editor.
|