You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Reworked signal connection system, added support for Callable and Signal objects and made them default.
This commit is contained in:
committed by
Juan Linietsky
parent
1a4be2cd8f
commit
69c95f4b4c
@@ -79,7 +79,7 @@ bool PluginScriptInstance::has_method(const StringName &p_method) const {
|
||||
return _script->has_method(p_method);
|
||||
}
|
||||
|
||||
Variant PluginScriptInstance::call(const StringName &p_method, const Variant **p_args, int p_argcount, Variant::CallError &r_error) {
|
||||
Variant PluginScriptInstance::call(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) {
|
||||
// TODO: optimize when calling a Godot method from Godot to avoid param conversion ?
|
||||
godot_variant ret = _desc->call_method(
|
||||
_data, (godot_string_name *)&p_method, (const godot_variant **)p_args,
|
||||
|
||||
Reference in New Issue
Block a user