You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS/device including version:
Manjaro Linux 64 bit (rolling release,so no version is available)
Issue description:
Facing multiple issues when trying to pass parameters from pressed signal (probably other signals as well) using object[] binds
Steps to reproduce:
Please see attached project for full description, to sum it up:
when doing b1.Connect("pressed",this,"_on_Button_pressed",new object[]{1,2});
I get compiler error Method Not Found (when button is clicked)
when doing b2.Connect("pressed",this,"_on_Button_pressed",new object[]{1});
No error is raised, but binds[] array in the function is empty
The only workaround is to wrap the array in another array: b3.Connect("pressed",this,"_on_Button_pressed",new object[]{new object[]{1,2}});
Godot version: 3.0 stable
OS/device including version:
Manjaro Linux 64 bit (rolling release,so no version is available)
Issue description:
Facing multiple issues when trying to pass parameters from pressed signal (probably other signals as well) using
object[] binds
Steps to reproduce:
Please see attached project for full description, to sum it up:
when doing
b1.Connect("pressed",this,"_on_Button_pressed",new object[]{1,2});
I get compiler error Method Not Found (when button is clicked)
when doing
b2.Connect("pressed",this,"_on_Button_pressed",new object[]{1});
No error is raised, but binds[] array in the function is empty
The only workaround is to wrap the array in another array:
b3.Connect("pressed",this,"_on_Button_pressed",new object[]{new object[]{1,2}});
Seems like a bug to me
Minimal reproduction project:
Binds bug.zip
The text was updated successfully, but these errors were encountered: