Connecting signals doesn't work
See original GitHub issueGiven I have a signal on a button connected with a script in the parent node
[connection signal="pressed" from="VBoxContainer/Player1" to="." method="_on_Player1_pressed"]
And I have a function registered like this:
@RegisterClass
class LoginScene : PanelContainer() {
@RegisterFunction
fun _on_Player1_pressed() {
println("clicked player1")
}
}
Then I get this error:
ERROR: Object::emit_signal: Error calling method from signal 'pressed': 'PanelContainer(LoginScene.kt)::_on_Player1_pressed': Method not found..
At: core\object.cpp:1260
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
qt - My signal / slot connection does not work - Stack Overflow
1) Check the debug console output: · 2) Use the full signature of signal and slot: · 3) Use existing overloads: · 4)...
Read more >Why Isn't My Turn Signal Working? - Wrench
Neither turn signal light is working. If both lights are not working, this is likely a sign of a blow fuse or a...
Read more >Turn Signal Problems and Diagnosis - AxleAddict
This guide helps you diagnose turn signal problems when one or more of the signal lights refuses to work.
Read more >Signal issues / no service troubleshooting | T-Mobile Support
No signal bars or a "no service" error means no connection. We want to fix that. Read me first. Before you dive too...
Read more >Registration troubleshooting - Signal Support
Confirm that you are using the most recent version of Signal. · Enable all the permissions for Signal through your Android phone Settings....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Aah now i get what you mean. Yeah i see what i can do. Maybe something similar to what rider does with reference usage but I’m unsure if IDEA does support that. I’ll try though.
It would be nice to have some hint (similar to how type hints are displaying) of how registered function will be named in godot after conversion. What do you think?