I always had the issue that in signal receiving callables I needed to declare all parameters, even though I only wanted to respond to an emitted signal, and not use the provided params.
Varargs to the rescue: `signal_name.connect(func(..._ignored): …)`. Nicer and clearer 🥰
#godotengine #gdscript
5 months ago