Replies: 1 comment 1 reply
-
Signals and Callables are first-class types in Godot 4.0 (including in GDScript), so this should no longer be an issue. I also remember C# events already being implemented in 4.0, but my memory may be hazy. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't know if it's planned or not, but i think it could be very interesting to define godot signal as C# event, for multiple reason:
Here is an exemple:
Button.Connect("pressed", this, "OnPressed");
could be write as
Button.Pressed += OnPressed;
Beta Was this translation helpful? Give feedback.
All reactions