Hi,
I am trying to consolidate a bunch of code in a largish Unity project into a set of managed plugins (.dll files).
This seems to work fine until I start trying to include classes that use objects in the UnityEngine.UI namespace. It seems like UnityEngine.UI does not exist in the Data/Managed/UnityEngine.dll file. Is there a UnityEngine.UI.dll that I should be using somewhere?
What reference do I need to add to be able to access UnityEngine.UI classes from my .dll?
I figured this out, I think. I added a reference to UnityExtensions\Unity\GuiSystem\UnityEngine.UI.dll, and everything seemed to be happy. I couldn’t find any official documentation suggesting that this was the right thing to do, but when you use the resulting DLL within the editor, the inspector doesn’t give you the warning that it gives when you use the .dlls directly (without going through UnityEngine.dll).