Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | alexzheng | |
Old Version | Published before Godot 3 was released. |
in the callback of signal, there’s no way to get the sender of the signal unless connect by code and bind the sender .
I wonder why the sender is missed by default in Godot.
hm… as just quick guess, every callback function should have a parameter for sender than, even though it’s really unnecessary.
I think you know how to get which sender emits the signal, what bothers you to use script to connect signal?
volzhs | 2017-04-10 14:15
what bothers you to use script to connect signal?
lazy
alexzheng | 2017-04-11 03:10
all technologies have event dispatchers references passed automatically. It’s weird we have to define a new signal to have access to it…
LionH | 2019-07-16 08:26