Closed js6pak closed 1 year ago
Use a cached DynamicMethod instead reflection for instantiating il2cpp objects.
Cursed Unsafe.Ass are required because there is no way to ignore generic constraints and PointerToValueGeneric can return value types.
Unsafe.As
PointerToValueGeneric
Use a cached DynamicMethod instead reflection for instantiating il2cpp objects.
Cursed
Unsafe.As
s are required because there is no way to ignore generic constraints andPointerToValueGeneric
can return value types.