- Home /
Question by
HakanOzcan · Sep 28, 2013 at 07:35 AM ·
guieditoreditorwindow
Extendible list in Editor window
Hey guys, I want to write an editor window that has an extendible list(I dont know it is a explanatory name) like you see in image. when you click "+" button, it extends the items(GameObject names) just underneath of itself. And then "+" button will be replaced with "-" button.When you click "-" button, list will disappear. If there is not such a feature in GUI, what is the way of doing it similar? Thanks..
ekran alıntısı.jpg
(11.2 kB)
Comment
Best Answer
Answer by Jamora · Sep 28, 2013 at 10:30 PM
You can achieve a similar effect (the same Unity uses) with EditorGUI.Foldout. EditorGUILayout has the same method.
Your answer
![](https://koobas.hobune.stream/wayback/20220613114937im_/https://answers.unity.com/themes/thub/images/avi.jpg)