- Home /
Unity Editor DLL's
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)?
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
Answer by Bill · Jun 08, 2010 at 09:21 PM
Placing DLL's into an folder named 'Editor' will ensure that they are only referenced by the editor scripts.
Your answer
Follow this Question
Related Questions
How can we use httpwebrequest in editor 0 Answers
Subclassed MonoBehavior in External DLLs Not Recognized 2 Answers
cannot edit script files, dll error 0 Answers
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
How to get Scene Name in Edit Mode without #if UNITY_EDITOR 1 Answer