- Home /
Changing the inspector's title bar for a script
Hi,
Is it possible to change the inspector's title bar for a script(component) you have added? We all know the basic stuff unity puts there: the 'Scriptname (Script)' thing. I want to make it look different like a material for example:
I want to be able to put a 'quick setting' for my script like the shader property in this material title bar. I know the EditorGUILayout has a InspectorTitlebar property but that's not what i am looking for. I want to customize the REAL inspector instead of creating a window like the inspector.
Any help is much appreciated. I hope I didn't miss something obvious for this in the documentation
Answer by swisscoder · Feb 06, 2012 at 06:17 PM
I think you cannot change it, because it has to be representable on all platforms, and therefore is not to the same extent customizable as the stuff below it.
Additionaly all the Titlebars collapse to a nice "one-line" element in the inspector. Except the Material(s) assigned to a game object. Maybe if you reverse engineer how the material is done, then you could eventually come up with a solution to that.
Your answer
Follow this Question
Related Questions
Questions Regarding Images in Custom Inspector/Editor 1 Answer
Custom Inspector: Joystick-like Display? 0 Answers
Reorderable list of UnityEvents 2 Answers
Make a custom inspector that shows a group of variables in form of list 2 Answers
How do I change inspector values of other game objects using a custom Editor Window 0 Answers