|
I have a scenario where I need access to System.Data in my editor scripts. Unity includes the DLL in it's Framework directory. However, it does not link to it during run time. I want to be able to access the DLL in my editor scripts but not the actual unity application. If I place the DLL in an 'Editor' folder, will Unity not include it in the application build (just like script files)?
(comments are locked)
|
|
Placing DLL's into an folder named 'Editor' will ensure that they are only referenced by the editor scripts.
(comments are locked)
|

Doing a quick test using Refelector. It seems that 'System.Data.DLL' is only referenced by 'Assembly - CSharp - Editor.dll' if dropped in an folder named 'Editor'. If I move it out of the editor folder, then it is referenced by 'Assembly - CSharp.dll'. So I guess I answered my own question.
Looks like you did :D You should put your own answer and mark it answered so this question doesn't come back to the front page once a week