BepInEx / Il2CppInterop

A tool interoperate between CoreCLR and Il2Cpp at runtime
GNU Lesser General Public License v3.0
197 stars 64 forks source link

Don't require IntPtr ctor for injected types #19

Closed Kasuromi closed 2 years ago

Kasuromi commented 2 years ago

Moved the Il2CppObjectBase constructor's behavior to CreateGCHandle so we are able to call it from the CreateEmptyCtor dynamic method as well.