Closed rogerbarton closed 4 years ago
One thing I'd like is to have that commented in the code, but otherwise yup, it makes sense to me.
Oh well, I meant the comments in the actual new code, but that's also useful ;)
Looks like some conflicts with comments (I can't merge that because that's your repo).
Yep im just resolving them right now
The loaded trigger is now called after all mocked methods have been loaded for preloaded mode. This allows using a native method inside the callback, such as a initialize function.
Swapped ordering so
UnityPluginLoad()
(fromLowLevelPluginManager.OnDllLoaded(dll)
) is called before the trigger. This is unrelated to the bug but makes more sense.