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
More broadly, it seems there could be some consolidation between LuaCallable and LuaCallableExtra to provide a simpler API. They both exist as functions in Lua but not in GDScript. Godot's Callable also has the bind() method that could allow the ref and tuple to still be passed into the Callable as arguments. This is obviously a deeper change but at the very least it would be great to be able to call a LuaCallableExtra from GDScript or at least expose the underlying Callable it wraps.
The text was updated successfully, but these errors were encountered:
There are many instances where you may end up with a
LuaCallableExtra
in GDScript and there is no way to call it. The problem is illustrated here:More broadly, it seems there could be some consolidation between
LuaCallable
andLuaCallableExtra
to provide a simpler API. They both exist as functions in Lua but not in GDScript. Godot's Callable also has the bind() method that could allow the ref and tuple to still be passed into the Callable as arguments. This is obviously a deeper change but at the very least it would be great to be able to call aLuaCallableExtra
from GDScript or at least expose the underlying Callable it wraps.The text was updated successfully, but these errors were encountered: