You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Properly report Callable bound arguments
Fixes #63213 Adds a function: Callable::get_amount_of_arguments_bound() to query this in callables. Exposed to the engine API.
This commit is contained in:
@@ -2016,6 +2016,7 @@ static void _register_variant_builtin_methods() {
|
||||
bind_method(Callable, get_object, sarray(), varray());
|
||||
bind_method(Callable, get_object_id, sarray(), varray());
|
||||
bind_method(Callable, get_method, sarray(), varray());
|
||||
bind_method(Callable, get_bound_arguments_count, sarray(), varray());
|
||||
bind_method(Callable, hash, sarray(), varray());
|
||||
bind_method(Callable, unbind, sarray("argcount"), varray());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user