1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Add Array and Dictionary wrapper classes to C#

(cherry picked from commit ee3c476c9a)
This commit is contained in:
Ignacio Etcheverry
2018-07-18 23:07:57 +02:00
committed by Hein-Pieter van Braam
parent e1cf8dc2cb
commit 31f8d3525d
17 changed files with 1409 additions and 183 deletions

View File

@@ -1605,7 +1605,7 @@ void CSharpScript::load_script_signals(GDMonoClass *p_class, GDMonoClass *p_nati
bool CSharpScript::_get_signal(GDMonoClass *p_class, GDMonoClass *p_delegate, Vector<Argument> &params) {
if (p_delegate->has_attribute(CACHED_CLASS(SignalAttribute))) {
MonoType *raw_type = GDMonoClass::get_raw_type(p_delegate);
MonoType *raw_type = p_delegate->get_mono_type();
if (mono_type_get_type(raw_type) == MONO_TYPE_CLASS) {
// Arguments are accessibles as arguments of .Invoke method