- Home /
Drop down list to inspector
Dont really know how to put this question. I wanna have a ordinary script but with a drop down list and show diffrent things in inspector depending of the choice.
Answer by superpig · May 06, 2011 at 07:39 PM
You'll need to write a custom editor for your component:
http://unity3d.com/support/documentation/Components/gui-ExtendingEditor.html
Answer by Jessy · May 06, 2011 at 06:18 PM
that dosent answer how to show diffrent things(In the Editor) depending on your choice
A selection is a thing. That's what I took it to mean. $$anonymous$$ore details could help get you what you need, then.
Your answer
Follow this Question
Related Questions
Type for layer selection 3 Answers
DropDownList with string array in Editor Inspector 5 Answers
Show a dropdown for C# classes in inspector. 2 Answers
Drop down with sizes 1 Answer
Dropdown like menus in the inspector 2 Answers