IBehaviourNode Interface

Summary

A node in a Behaviour Tree.
IBehaviourNode
IPolymorphic

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(int) IBehaviourNode
Gets the child node at the specified `index`.

Extension Methods

Name Value Summary
GetChildren() List<IBehaviourNode>
Returns a list containing the `node` and all of its children (recursively).
GetChildren(List<IBehaviourNode>) void
Adds the `node` and all of its children to the `list` (recursively).