I'm now making a plugin that works for diffierent platforms.
MyPluginEditor.dll for editor,
MyPlugin.dll for android and ios.
Both of these two dlls have the same scripts. MyPluginEditor.dll is compiled with UNITY_EDITOR compilation symbol and MyPlugin.dll with UNITY_ANDROID/UNITY_IOS.
My question is: if I have a class in both of my dlls, and want to attach this class' script to other gameobjects. Is this possible?
↧