Hi,
I am going to write a Unity plugin (C# plugin and I will compile it into a dll). I will do it on Windows. Do I have to rewrite my plugin in order to use it on Unity on Mac? Or will it just work there?
Thanks so much for the help!
Hi,
I am going to write a Unity plugin (C# plugin and I will compile it into a dll). I will do it on Windows. Do I have to rewrite my plugin in order to use it on Unity on Mac? Or will it just work there?
Thanks so much for the help!
Think it depends if your targeting mono or not. Will it be run by the unity/mono runtime, or windows native? If it’s the first then yes, the dll will definitely run on both mac and pc.
I don’t think I ever “targeted Mono”, and my dll worked on Mac… As long as I don’t use references towards .NET library Mono aren’t properly supporting (Ex.: System.Drawing).
I know what your saying. I saw a video tutorial that probly confused me. It talked about Managed vs Native Managed as if there was some difference.