Task Node
Type description and basic instructions.
Description
Task Node is base abstract class for all task nodes.
To create a custom task node you should inherit from Task Node class and implement logic that is described below.
OnUpdate
When inheriting from Task Node you have to override OnUpdate method.
OnUpdate gets called every tick during node execution according to Behaviour Tree Update Mode.
OnUpdate returns state of the node after update.
OnEnter and OnExit
You can also override OnEntry and OnExit methods.
OnEntry gets called when Behaviour Tree enters the node.
OnExit gets called when Behaviour Tree exits the node.
To create custom task nodes in editor you should add Node Content attribute to your custom task node class.
Last updated