- Home /
Default inspector style changes
So I'm creating a custom inspector for Item, as you can see, but I'd like it to keep the same sort of style as the standard inspector, as exemplified above, so without the boxes around the fields essentially. Is there a style or layout option I can pass to the field constructors, perhaps?
Comment
Best Answer
Answer by TonyLi · Jul 01, 2013 at 02:14 PM
Use EditorGUIUtility.LookLikeInspector().
The opposite is EditorGUIUtility.LookLikeControls().
Your answer
Follow this Question
Related Questions
Editor GUI Like mesh import animation inspector 0 Answers
Dynamic Target for Object field (and others) in Custom Inspector 0 Answers
GuiStyle depth 0 Answers
Simple text in inspector components? 2 Answers
GUI layering 0 Answers