I couldn't figure out how to connect a lua function to a godot signal, e.g.
node.resized:connect(function() end)
gives invalid argument error in to_variant()
I've seen #196, but solution given there only works for lua functions accessed in godot.
If there is an already working solution I'd propose adding into the readme (since it's a pretty common pattern), if not, having a way to convert lua functions to callable would be much appreciated
I couldn't figure out how to connect a lua function to a godot signal, e.g.
gives invalid argument error in to_variant()
I've seen #196, but solution given there only works for lua functions accessed in godot.
If there is an already working solution I'd propose adding into the readme (since it's a pretty common pattern), if not, having a way to convert lua functions to callable would be much appreciated