UnityNativeTool
UnityNativeTool copied to clipboard
Allows to unload native plugins in Unity3d editor
The order of OnDestroy is not guaranteed, because the order of script excution doesn't work when calling OnDestroy. ``` class OneObj : MonoBehavior { void OnDestroy() { NativeApi.test(); } }...
The code used to do the cornerstone of work - changing method code at runtime - was extracted from [Hamony](https://github.com/pardeike/Harmony)project and is located in [scripts/Detour.cs](https://github.com/mcpiroman/UnityNativeTool/blob/master/scripts/Detour.cs). It works with native x86...
Hi! This is more a question than an issue, but I want to know if it is theoretically possible to find dynamically dlls in the project and load it using...
- Add support for .NET STandard in Unity 2021 and higher. - Keep retro-compatibility using the compilation directive #NETSTANDARD Notes: - Untested on windows.