Connecting signals to functions
To connect a signal to a function, use the connect
method:
my_object.my_signal.connect(on_my_signal)
func on_my_signal():
print("Signal received!")
Comments
To connect a signal to a function, use the connect
method:
my_object.my_signal.connect(on_my_signal)
func on_my_signal():
print("Signal received!")