1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

C#: Add DynamicGodotObject class

Expands to Object.call, Object.set and Object.get for accessing members. This means it can also access members from scripts written in other languages, like GDScript.

(cherry picked from commit bb6814aef0)
This commit is contained in:
Ignacio Etcheverry
2019-03-28 20:01:54 +01:00
committed by Hein-Pieter van Braam-Stewart
parent 7851d828a2
commit 4c10a322d1
11 changed files with 407 additions and 34 deletions

View File

@@ -175,7 +175,7 @@ MonoObject *godot_icall_GD_str2var(MonoString *p_str) {
return GDMonoMarshal::variant_to_mono_object(ret);
}
bool godot_icall_GD_type_exists(MonoString *p_type) {
MonoBoolean godot_icall_GD_type_exists(MonoString *p_type) {
return ClassDB::class_exists(GDMonoMarshal::mono_string_to_godot(p_type));
}