Replies: 1 comment
-
I'm closing this because of: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When selecting a method to connect a signal from the editor, the "Compatible Methods Only" toggle should result in filtering considering the extra call arguments that has been added.
However, it currently ignores them.
See:
In this example I'm trying to connect the
value_changed
method of anHSlider
ofname
"master"
.The
value_changed
has afloat
parameter by default.However, I have created a
_on_volume_changed(float, String)
to unify the signal handlers for thevalue_changed
signals of multipleHSlider
(the motivation for this is not relevant here), and thus I have added an extra call argument of typeString
with the value"master"
so I can identify theHSlider
.Despite that, the new method
_on_volume_changed
does not show up with the "Compatible Methods Only" toggle on. Instead the old signal handlers do. All of them take afloat
only.Godot version: v4.2.dev2.official
Beta Was this translation helpful? Give feedback.
All reactions