GroupNode Class

Summary

An PlatformerGameKit.BehaviourTrees.IBehaviourNode which calls PlatformerGameKit.BehaviourTrees.IBehaviourNode.Execute on an array of PlatformerGameKit.BehaviourTrees.GroupNode.Children.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.BehaviourTrees
Interfaces
Base Types
  • Object
Derived Types
GroupNode
Object
IPolymorphic
IPolymorphicReset

Syntax

[Serializable]
public abstract class GroupNode : IBehaviourNode, IPolymorphic, IPolymorphicReset

Remarks

Documentation: Behaviour Tree Brains - Groups

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
ChildCount int
The number of children this node has.
Children IBehaviourNode[]
The other nodes on which PlatformerGameKit.BehaviourTrees.IBehaviourNode.Execute is called to determine the PlatformerGameKit.BehaviourTrees.Result of this node.

Methods

Name Value Summary
Execute() Result
Runs this node's main logic.
GetChild(int) IBehaviourNode
Gets the child node at the specified `index`.