Summary
A node in a Behaviour Tree.
- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.BehaviourTrees - Interfaces
-
- IPolymorphic
- Implementing Types
graph BT
Type-.->Interface0["IPolymorphic"]
Type["IBehaviourNode"]
class Type type-node
Implementing0["Selector"]-.->Type
click Implementing0 "/platformer/api/PlatformerGameKit.BehaviourTrees/Selector"
Implementing1["FaceAttacker"]-.->Type
click Implementing1 "/platformer/api/PlatformerGameKit.BehaviourTrees/FaceAttacker"
Implementing2["SetMovementSine"]-.->Type
click Implementing2 "/platformer/api/PlatformerGameKit.BehaviourTrees/SetMovementSine"
Implementing3["IsIdle"]-.->Type
click Implementing3 "/platformer/api/PlatformerGameKit.BehaviourTrees/IsIdle"
Implementing4["ConditionNode"]-.->Type
click Implementing4 "/platformer/api/PlatformerGameKit.BehaviourTrees/ConditionNode"
Implementing5["SetMovementForward"]-.->Type
click Implementing5 "/platformer/api/PlatformerGameKit.BehaviourTrees/SetMovementForward"
Implementing6["Ignore"]-.->Type
click Implementing6 "/platformer/api/PlatformerGameKit.BehaviourTrees/Ignore"
Implementing7["LeafNode"]-.->Type
click Implementing7 "/platformer/api/PlatformerGameKit.BehaviourTrees/LeafNode"
Implementing8["TrySetState"]-.->Type
click Implementing8 "/platformer/api/PlatformerGameKit.BehaviourTrees/TrySetState"
Implementing9["Invert"]-.->Type
click Implementing9 "/platformer/api/PlatformerGameKit.BehaviourTrees/Invert"
Implementing10["Wait"]-.->Type
click Implementing10 "/platformer/api/PlatformerGameKit.BehaviourTrees/Wait"
Implementing11["IsWallInFront"]-.->Type
click Implementing11 "/platformer/api/PlatformerGameKit.BehaviourTrees/IsWallInFront"
Implementing12["TurnAround"]-.->Type
click Implementing12 "/platformer/api/PlatformerGameKit.BehaviourTrees/TurnAround"
Implementing13["IsGroundInFront"]-.->Type
click Implementing13 "/platformer/api/PlatformerGameKit.BehaviourTrees/IsGroundInFront"
Implementing14["ActionNode"]-.->Type
click Implementing14 "/platformer/api/PlatformerGameKit.BehaviourTrees/ActionNode"
Implementing15["Sequence"]-.->Type
click Implementing15 "/platformer/api/PlatformerGameKit.BehaviourTrees/Sequence"
Implementing16["IsEnemyInFront"]-.->Type
click Implementing16 "/platformer/api/PlatformerGameKit.BehaviourTrees/IsEnemyInFront"
Implementing17["UnityEventNode"]-.->Type
click Implementing17 "/platformer/api/PlatformerGameKit.BehaviourTrees/UnityEventNode"
Implementing18["ModifierNode"]-.->Type
click Implementing18 "/platformer/api/PlatformerGameKit.BehaviourTrees/ModifierNode"
Implementing19["GroupNode"]-.->Type
click Implementing19 "/platformer/api/PlatformerGameKit.BehaviourTrees/GroupNode"
Implementing20["FuncNode"]-.->Type
click Implementing20 "/platformer/api/PlatformerGameKit.BehaviourTrees/FuncNode"
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).
|