I'm just getting started with Unity GUI, and am having trouble getting GUIstyle to work with C#. To start with I'd like to expose GUI style varibles to the inspector, like in the documentation with js:
Making a public variable GUIStyle
I've tried to convert the example to C# but no GUI style varibles are exposed to the inspector (see code below). All I get is a field for a Game Object of type GUIstyle.
Try changing your script/class name to something other than GUIStyle.
Ah, thanks very much. That was the problem.