- Home /
EditorGUILayout placement options?
Hullo, I'm having a bit of a hard time understanding the whole EditorGUILayout thing. Basically, I'm making a custom editor for my Spell class with a list of custom-drawn Effect objects. Right now I can draw each Effect using EditorGUILayout, and it shows up as a bunch of nicely-arranged variables. I have two questions about this.
What I want to do now is to put each drawn Effect inside a little box so it's easier to tell them apart. Is there any way to do this using Layout, or will I have to write everything out manually using plain EditorGUI?
Once I have these nicely-arranged boxes, I'd like to be able to click on one to select it, and then move it up/down or remove it via buttons. Is there any way I can make the Effect box "selectable"?
Your answer
![](https://koobas.hobune.stream/wayback/20220613182234im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
why I Cant Add Multiple Objects to the "Object Field" in Editor Window? 3 Answers
EditorGUILayout.BeginVertical indent level 1 Answer
How to remove / replace arrow icon in foldout? 0 Answers
Custom Inspector - How to add functionality? 1 Answer
Custom Inspector with field like Camera culling mask 2 Answers