You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
C#: Fix return type hint for methods.
(cherry picked from commit 51c54b03d1)
This commit is contained in:
@@ -2346,6 +2346,8 @@ void CSharpScript::update_script_class_info(Ref<CSharpScript> p_script) {
|
||||
MethodInfo mi;
|
||||
mi.name = name;
|
||||
|
||||
mi.return_val = PropertyInfo::from_dict(method_info_dict["return_val"]);
|
||||
|
||||
Array params = method_info_dict["params"];
|
||||
|
||||
for (int j = 0; j < params.size(); j++) {
|
||||
|
||||
Reference in New Issue
Block a user