How to use Editor script?


Heading> HeadingHeading


Hi all Unities,

      Hey sorry I cannot understand for how to use the "Editor script" when I try to add it to an object it return a message saying "To attach a script it needs to be outside the 'Editor' folder" so how should I make this work? These example are source from AngryAnt, Itween I wondering how could I use these? Could any one please show me the way?

Thanks all.BlockquoteHeading

more ▼

asked Jan 19, 2011 at 03:41 PM

BSVALVE gravatar image

1 55 39 43

I am sorry I see a box then I just type in but how should I not?

Jan 19, 2011 at 07:34 PM BSVALVE

There is a button like 0110 or something. Don't hit that. It will format the current text selection as code. You can edit your post to clean that up if you like.

Jan 19, 2011 at 07:59 PM DaveA

I did not hit that or any button at all, look I did some thing weird oh I don't know how is this work.....

Jan 20, 2011 at 08:14 AM BSVALVE

Please don't format your question as code, except where it is code.

Jan 19, 2011 at 03:50 PM DaveA
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

You don't add it to an object. Create a folder called Editor in your Assets folder, and put editor scripts in there. If they compile, their UI will auto-incorporate to the editor's UI

more ▼

answered Jan 19, 2011 at 03:51 PM

DaveA gravatar image

33.7k 419 347 514

Thanks mate very appreciated this.

Jan 19, 2011 at 07:35 PM BSVALVE
(comments are locked)
10|3000 characters needed characters left

will auto-incorporate to the editor's UI??

what exactly does this mean, I'm trying and nothing happens, I have made a cool something and want to add a component to it which will have all the documentation it needs.

more ▼

answered Apr 13 at 11:17 PM

Helical gravatar image

152 1 2 9

He means it should show up in the user interface in unity automatically, assuming the code is correct.

Jun 24 at 06:47 PM Peter Ples
(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



Answers and Comments



asked: Jan 19, 2011 at 03:41 PM

Seen: 4279 times

Last Updated: Jun 24 at 06:47 PM