Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Is there a way to stylize EditorGUI.ObjectField?

$
0
0
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.

Viewing all articles
Browse latest Browse all 7934

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>