fts_unity_native_plugin_reloader
fts_unity_native_plugin_reloader copied to clipboard
Single-file helper to allow Unity NativePlugins to be updated without restarting the editor.
`LoadAll` currently looks roughly like the following: ``` csharp foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies()) { foreach (var type in assembly.GetTypes()) { foreach (var field in type.GetFields() { // Do stuff...
NativePluginLoader doesn't seem to work for loading [native rendering extensions](https://docs.unity3d.com/Manual/LowLevelNativePluginRenderingExtensions.html). DLL loading etc. works fine but `OnGraphicsDeviceEvent` is never called. I don't know enough about Unity internals to know why...
Would like to support platforms other than Windows. Requires at least two things. 1. Wrap `SystemLibrary` methods with platform specific calls. 2. Provide platform specific library extensions. Platform system calls...
Hi, I thought it might be useful for some to see how they could prepare their native plugin code to be compatible with both MacOS and Windows. This PR extends...