- Home /
Putting Platform Specific Code in a plugin
Since plugins are DLLs how do I put OS specific code in them? Since they are compiled AFAICT this won't work
#if UNITY_STANDALONE_OSX
DoOSXStuff();
#elif UNITY_STANDALONE_WIN
DoWinStuff();
#endif
Since there will be only 1 .DLL
Comment