Generate node signal bindings
Apply [BindNodeSignal(nameof(_startButton), nameof(Button.Pressed))] to a callback. Point the field at the actual node and match the callback signature to the signal event.
- Prepare node references in
_Ready(). With[GetNode], call__InjectGetNodes_Generated()first. - Call
__BindNodeSignals_Generated()to subscribe. - Call
__UnbindNodeSignals_Generated()in_ExitTree()to release subscriptions.
Check generator diagnostics for missing calls in custom lifecycle overrides. For runtime connections, see Godot signals.