Summary
A
PlatformerGameKit.BehaviourTrees.GroupNode
which executes each child that returns PlatformerGameKit.BehaviourTrees.Result.Fail
until one doesn't.
- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.BehaviourTrees - Interfaces
-
- IBehaviourNode
- IPolymorphic
- IPolymorphicReset
- Base Types
-
- Object
- GroupNode
graph BT
Type-->Base0["GroupNode"]
click Base0 "/platformer/api/PlatformerGameKit.BehaviourTrees/GroupNode"
Base0-->Base1["Object"]
Type-.->Interface0["IBehaviourNode"]
click Interface0 "/platformer/api/PlatformerGameKit.BehaviourTrees/IBehaviourNode"
Type-.->Interface1["IPolymorphic"]
Type-.->Interface2["IPolymorphicReset"]
Type["Selector"]
class Type type-node
Syntax
[Serializable]
public class Selector : GroupNode, IBehaviourNode, IPolymorphic, IPolymorphicReset
Remarks
Not sure whether this class description is darker than
PlatformerGameKit.BehaviourTrees.Sequence
or not.
Documentation:
Behaviour Tree Brains - Groups
Attributes
Type | Description |
---|---|
Serializable |
Properties
Name | Value | Summary |
---|---|---|
ChildCount | int |
The number of children this node has.
Inherited from GroupNode
|
Children | IBehaviourNode[] |
The other nodes on which
PlatformerGameKit.BehaviourTrees.IBehaviourNode.Execute is called to determine the
PlatformerGameKit.BehaviourTrees.Result of this node.
Inherited from GroupNode
|
Methods
Name | Value | Summary |
---|---|---|
Execute |
Result |
Runs this node's main logic.
|
GetChild |
IBehaviourNode |
Gets the child node at the specified `index`.
Inherited from GroupNode
|