Any way to write comments in the editor through a script?

Hi everyone,

So, I am wondering whether it’s possible to write comments in the editor window in my own scripts. I just want to be able to put some text in as separators when working with bigger scripts that have many public elements.

It would also help greatly when other people have to use my scripts.

Any way to do this?

EDIT: An example of what i am talking about…

alt text

Here is the doc to create custom inspector for script. That could lead you somewhere:

http://unity3d.com/support/documentation/Components/gui-ExtendingEditor.html

So you’re just trying to get a line of text in there? If that’s the case you could just use EditorGUI.LabelField or EditorGUILayout.LabelField?