- Home /
How to make Editor GUI like Mecanim Conditions/Transition boxes
Does anyone know what this GUI element is called?
Also if so, is there a easy way to code it? Or is this one of those things that's not easy to get at, and I should probably look for a easier solution. I'd like to use it to make a pretty list of GameObjects with a drop-down menu for setting a limited integer value.
Thanks in advance!
Good question. Lots of thing in the inspector regarding mecanim are different from the traditional Unity UI. I have a feeling its closed though.
Answer by FlyingHighUp · Sep 07, 2014 at 11:33 PM
As of Unity 4.5, this GUI has been exposed in namespace UnityEditorInternal as "ReorderableList". It is currently undocumented.
See: http://va.lent.in/unity-make-your-lists-functional-with-reorderablelist/
Answer by TonyLi · Sep 30, 2013 at 02:06 PM
The drop-downs are two EditorGUI.PopUp controls -- probably implemented as EditorGUILayout.PopUp within a horizontal group.
Your answer
Follow this Question
Related Questions
Custom Material Editor 1 Answer
OnInspectorGUI - Using the default Object Selection popup. 1 Answer
GameObject Array in Editor GUI 3 Answers
Node editor GUI in Unity 4? 2 Answers