x


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)?

more ▼

asked Jun 08 '10 at 06:31 PM

Bill gravatar image

Bill
311 20 24 36

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.

Jun 08 '10 at 06:44 PM Bill

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

Jun 08 '10 at 07:12 PM Mike 3
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Placing DLL's into an folder named 'Editor' will ensure that they are only referenced by the editor scripts.

more ▼

answered Jun 08 '10 at 09:21 PM

Bill gravatar image

Bill
311 20 24 36

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x347
x231

asked: Jun 08 '10 at 06:31 PM

Seen: 2373 times

Last Updated: Jun 08 '10 at 06:31 PM