Changing the Inspector's title bar for a script

Hi,

I was wondering if it is possible to change the default foldout Title Bar in the Inspector for your own script component. I want to make a custom one something like the way a material is shown in the inspector:

Also with some quicksettings like the shader property in the example of the material. I know there is this EditorGUILayout.InspectorTitleBar but it’s not what I’m looking for since this just creates another titlebar (not even in the inspector itself). Now I also found out that there is a Custom Style for this in the default GUI.skin which is called ‘IN BigTitle’, don’t know if it is a good way to start looking or not. Probably it’s a dead end 'cause I can’t force the inspector to use that style when it draws the Editor for my component (script).
Another clue I got was when I made a CustomEditor for typeof(GameObject) and noticed that the BigTitle of the GameObject which is on top of the Inspector changed to the default-inspector-look and the setting you have in the GameObject’s TitleBar also changed to the default ones. So my guess is that it might actually be possible to change it out of a CustomEditor.

Anyone ever solved this or is there just no way of changing it?

thanks in advance!
.sanders

I’m looking for this same thing now. I’m hoping you found an answer? Also bumping this to get it back up on the list.