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