Namespace EyeAuras.BehaviorTree.Nodes.ControlFlow
Classes
BehaviorTreeNode
This class represents a BehaviorTree node. A BehaviorTree node is a type of SequenceNode and serves as the root of the behavior tree.
BehaviorTreeNodeProperties
IfThenElseNode
The IfThenElse
node is a type of Control Flow node in the behavior tree with exactly three children nodes.
If the condition node returns Success
, then it ticks the Then
node (the second child).
If the condition node returns Failure
, then it ticks the Else
node (the third child).
If the condition node returns Running
, then it also returns Running
.
IfThenElseNodeProperties
SelectorNode
Represents a Selector node in a behavior tree.
SelectorNodeProperties
SequenceNode
This class represents a Sequence node in a behavior tree. Sequence nodes are control nodes that tick their children one at a time in order. If a child node returns success, the sequence node moves on to the next child. If a child node returns failure, the sequence node immediately returns failure. If a child node returns running, the sequence node also returns running and will continue from this child on the next tick. The sequence node returns success only if all child nodes return success.
SequenceNodeProperties
SubTreeNode
This class represents a SubTree node in a behavior tree. A SubTree node is a type of control node that encapsulates a subtree within a behavior tree.