You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Merge pull request #100636 from raulsntos/dotnet/emit-signal-fix
[.NET] Fix EmitSignal with typed array parameters
This commit is contained in:
@@ -3360,7 +3360,9 @@ Error BindingsGenerator::_generate_cs_signal(const BindingsGenerator::TypeInterf
|
||||
cs_emitsignal_params << ", ";
|
||||
}
|
||||
|
||||
p_output << arg_type->cs_type << " " << iarg.name;
|
||||
String arg_cs_type = arg_type->cs_type + _get_generic_type_parameters(*arg_type, iarg.type.generic_type_parameters);
|
||||
|
||||
p_output << arg_cs_type << " " << iarg.name;
|
||||
|
||||
if (arg_type->is_enum) {
|
||||
cs_emitsignal_params << "(long)";
|
||||
|
||||
Reference in New Issue
Block a user