Added basic component access in Scripts

This commit is contained in:
Simon Lübeß
2023-03-29 16:32:46 +02:00
parent e60d74fccd
commit 4fd9a924a0
11 changed files with 332 additions and 33 deletions
+10
View File
@@ -123,6 +123,12 @@ static class Mono
[LinkName(.C)]
public static extern void mono_field_set_value(MonoObject* obj, MonoClassField* field, void* value);
[LinkName(.C)]
public static extern MonoType* mono_reflection_type_from_name(char8* name, MonoImage* image);
[LinkName(.C)]
public static extern MonoType* mono_reflection_type_get_type(MonoReflectionType* reflectionType);
}
struct MonoDomain;
@@ -145,6 +151,10 @@ struct MonoException;
struct MonoClassField;
struct MonoType;
struct MonoReflectionType;
enum MonoImageOpenStatus
{
Ok,