Currently I have a class named Node. Node derives from ScriptableObject (which derives from Object).
In a custom editor (for a different script), I wish to loop through a list of Node instances, displaying the details of each under their own InspectorTitlebar.
So quite simply the code:
EditorGUILayout.InspectorTitlebar(true, nodeList.nodes*);*
I would think would display a titlebar that has an icon assosciated with Node.cs and text that says ‘Node’.
But no, the icon is a generic unity icon, and the text says “Mono Behaviour” (which is stupid not only because I can’t seem to modify it, but because Node isn’t even a Mono Behaviour).
![alt text][1]
So my question is, how can I set the icon for this, and how could I change the text?
[1]: http://i.imgur.com/yZ98yU0.png