BehaviorNode
Inherits: Node
Base class for defining signal-based behavior
Description
A BehaviorNode is a node that follows a signaling pattern. These nodes can be added as a child of any node and can be configured to listen for and react to signals from its parent. This can allow developers to attach behaviors to nodes in the scene tree from the editor in a compositional way.
Properties
| Type | Name | Default |
|---|---|---|
| String | on_signal |
Property Descriptions
on_signal
String on_signal
The signal to connect to on this behavior's parent node. This behavior will execute whenever this signal is fired.