Start of edit mode scripts

- Initialize script instances in edit mode
- Run OnCreate and OnUpdate for Entities with RunInEditMode-Attribute
This commit is contained in:
Simon Lübeß
2023-12-02 00:28:04 +01:00
parent 23b38a7a31
commit 5852e11ccb
5 changed files with 48 additions and 5 deletions
+3
View File
@@ -209,6 +209,9 @@ static class Mono
/// Gets the field as object, boxes the value if it is a valuetype.
[LinkName(.C)]
public static extern MonoObject* mono_field_get_value_object(MonoDomain* domain, MonoClassField* field, MonoObject* obj);
[LinkName(.C)]
public static extern MonoCustomAttrInfo* mono_custom_attrs_from_class(MonoClass *klass);
[LinkName(.C)]
public static extern MonoCustomAttrInfo* mono_custom_attrs_from_field(MonoClass* monoClass, MonoClassField* field);