- Home /
Is there a way to create a folder hierarchy view in the editor?
The idea is to create using the editor something similar to the folder hierarchy shown when you import a package. Is there a way to do it? I've found the Foldout component and the Toggle but I don't know if there is a way to mix both in the same component as the package import window.
Sample image:
Answer by FortisVenaliter · May 17, 2015 at 05:57 PM
Sure. You need to do an EditorGUILayout.Begin/EndHorizontal, and put the two between them, with the toggle having no text. You might need to use some GUILayout.Min/MaxWidth functions to get the layouts just right though.
Your answer
Follow this Question
Related Questions
Unity Folders -1 Answers
Detecting moment when GameObiect is created in hierarchy. 1 Answer
keep gameObject in hierarchy folded when not selected 3 Answers
HingeJoint2D anchor point disappered 0 Answers
Problem with Editor folder 1 Answer