private string test_string = "hello world"; public int[] test_int_array; protected List<string> test_string_list; private TEST_ENUM test_enum; private Hello hello = new Hello(); private void Awake() { Init(); } private void Init() { test_int = 1; test_float = 2.0f; test_int_...
private string test_string = "hello world"; public int[] test_int_array; protected List<string> test_string_list; private TEST_ENUM test_enum; private Hello hello = new Hello(); private void Awake() { Init(); } private void Init() { test_int = 1; test_float = 2.0f; test_int_...
gc_resize_event(void *,long long) #2:il2cpp::vm::Profiler::GCHeapResize(long long) #3:GC_collect_or_expand #4:GC_alloc_large #5:GC_generic_malloc #6:GC_malloc_kind_global #7:il2cpp::vm::Object::AllocatePtrFree(uint,Il2CppClass *) #8:il2cpp::vm::Array::NewSpecific(Il2Cpp...
DEFINE_IL2CPP_FUN(uint32_t, il2cpp_array_get_byte_length, (Il2CppArray * array)); DEFINE_IL2CPP_FUN(Il2CppArray*, il2cpp_array_new, (Il2CppClass * elementTypeInfo, il2cpp_array_size_t length)); DEFINE_IL2CPP_FUN(Il2CppArray*, il2cpp_array_new_specific, (Il2CppClass * arrayTypeIn...
"il2cpp_array_get_byte_length", "il2cpp_array_new", "il2cpp_array_new_specific", "il2cpp_array_new_full", "il2cpp_bounded_array_class_get", "il2cpp_array_element_size", "il2cpp_assembly_get_image", "il2cpp_class_enum_basetype", "il2cpp_class_is_generic", "il2cpp_class_is_infl...
DO_API(uint32_t, il2cpp_array_get_byte_length, (Il2CppArray * array)); DO_API(Il2CppArray*, il2cpp_array_new, (Il2CppClass * elementTypeInfo, il2cpp_array_size_t length)); DO_API(Il2CppArray*, il2cpp_array_new_specific, (Il2CppClass * arrayTypeInfo, il2cpp_array_size_t length...
IL2CPP also requires some systems native to the target platform to generate the C++ code. This means that to use IL2CPP on a specific platform, you need to build the application on that platform. For example, to use IL2CPP with MacOS as a build target, you need to build the application...
(void*ptr,size_tsize,size_talignment);}Il2CppMemoryCallbacks;typedefvoidIl2CppClass;typedefvoidIl2CppArray;typedefvoidIl2CppImage;typedefvoidIl2CppAssembly;typedefvoidIl2CppReflectionType;typedefvoidEventInfo;typedefuintptr_til2cpp_array_size_t;typedefvoidFieldInfo;typedefvoidPropertyInfo;typedefvoidMethodInfo...
methodInvokers(array) The virtual address, name and C++ function signature of every Method.Invoke thunk function in the binary stringLiterals(array) For Unity versions lower than 5.3.2: the ordinal, name and text of every string literal in the binary ...
If a specific value-typed generic signature was not used in original game code, it can't be used externally either.Class injectionStarting with version 0.4.0.0, managed classes can be injected into IL2CPP domain. Currently this is fairly limited, but functional enough for GC integration and ...