x


How to use Editor script?

Heading

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

BSVALVE
1 55 38 43

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

Jan 19, 2011 at 03:50 PM DaveA

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
(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

DaveA
33.3k 416 335 442

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

Helical
0 1

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

By RSS:

Answers

Answers and Comments

Topics:

x6460
x4770
x2626
x576

asked: Jan 19, 2011 at 03:41 PM

Seen: 3633 times

Last Updated: Jun 24 at 06:47 PM