Why does emit_signal still want stringName as argument? #5922
Replies: 1 comment 1 reply
-
Probably because you can just do |
Beta Was this translation helpful? Give feedback.
-
Probably because you can just do |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In Godot 4 we wait for signals directly with
await mynode.signal_name
and the editor auto-completes the identifier. Super comfy.On the other hand,
emit_signal()
auto-completes while we are typing the identifier like inemit_signal(signal_name)
BUT then it wants us to add quotes because it only accepts stringName.Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions