Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

How do Managed Plug-Ins (DLL) work with different versions?

$
0
0
Suppose I followed the instructions on [this page][1] in the Unity manual to create a DLL. In the project, I would reference UnityEngine.dll to use the UnityEngine classes and functions.

Would UnityEngine.dll be copied alongside my dll? Does that mean I'm stuck with whatever Unity version I referenced? I don't want to carry a copy of the entire UnityEngine dll!

And if it doesn't get copied but rather referenced via the path `C:\Program Files\Unity\Editor\Data\Managed\UnityEngine`, what happens when I distribute the dll to someone who installed Unity in a different location? Will the reference break? [1]: https://docs.unity3d.com/Manual/UsingDLL.html

Viewing all articles
Browse latest Browse all 706

Trending Articles