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?
Please don't format your question as code, except where it is code.
I am sorry I see a box then I just type in but how should I not?
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.
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.....
Answer by DaveA
Jan 19, 2011 at 03:51 PM
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
Thanks mate very appreciated this.
Answer by Helical
Apr 13, 2014 at 11:17 PM
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.
He means it should show up in the user interface in unity automatically, assuming the code is correct.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users post good questions and use the site effectively we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
1 Person is following this question.
A node in a childnode?
Unity crashed, then alll scripts can't be loaded
Itween rotation help
itween move to do not end(even it is)
Scripting a "Unity Editor"-like object transformation control