Summary
A node in a Behaviour Tree.
- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.BehaviourTrees - Interfaces
-
- IPolymorphic
- Implementing Types
Syntax
public interface IBehaviourNode : IPolymorphic
Remarks
Documentation:
Behaviour Tree Brains - Core Concept
Properties
Name | Value | Summary |
---|---|---|
ChildCount | int |
The number of children this node has.
|
Methods
Name | Value | Summary |
---|---|---|
Execute |
Result |
Runs this node's main logic.
|
GetChild |
IBehaviourNode |
Gets the child node at the specified `index`.
|
Extension Methods
Name | Value | Summary |
---|---|---|
GetChildren |
List |
Returns a list containing the `node` and all of its children (recursively).
|
GetChildren |
void |
Adds the `node` and all of its children to the `list` (recursively).
|