- Home /
Question by
Hedonsoft · Jan 16, 2015 at 01:04 AM ·
listeditorwindoweditorguilayout
How do I iterate through a List and add to my EditorWindow?
I am creating a custom EditorWindow and need to display objects parsed from an xml file. I can do the parsing but how do I create an interactive list?
Comment
Answer by Paulius-Liekis · Jan 16, 2015 at 04:24 PM
Implement OnGUI method. Use GUILayout and EditorGUILayout to display your UI.
I know this, I created my UI but my question has to do with specifically creating lists. I knw there's no List component.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Custom Editor - Is there any way to detect whether the user is in Prefab editing mode? 1 Answer
Get position of Rect in Rect in EditorWindow 1 Answer
How do I stop new elements in a list/array from inheriting values from the last element? 1 Answer
Popup options not changing in custom editor script 0 Answers