- Home /
Question by
Gru · Aug 15, 2016 at 11:53 AM ·
erroreditoreditorguieditorguilayouteditor window
Is there a way to stylize EditorGUI.ObjectField?
Is there a way to stylize EditorGUI.ObjectField?
I have an object field that accepts my subtype of scriptable object like this:
variable = EditorGUI.ObjectField(_rect, variable, typeof(MySOSubtype), false) as MySOSubtype;
I would like to apply a custom icon, change text or remove the picker. In the documentation I haven't seen anything that would allow me to do this. I also don't want the label, just the object field itself.
Comment
Your answer
Follow this Question
Related Questions
How to combine two buttons in one. Editor window 2 Answers
Custom Editor - Is there any way to detect whether the user is in Prefab editing mode? 1 Answer
Casting browser window (or any window) inside Unity editor? Or a transparent Unity app? 0 Answers
Weird action in Unity editor when pressing the "E" key? 1 Answer