GUIContent Manual     Reference     Scripting  
Scripting > Runtime Classes > GUIContent
GUIContent Class

The contents of a GUI element.

This works closely in relation with GUIStyle. GUIContent defines what to render and GUIStyle defines how to render it.

See Also: GUIStyle

Variables
text

The text contained.

image

The icon image contained.

tooltip

The tooltip of this element.

Constructors
GUIContent

Constructor for GUIContent in all shapes and sizes

Class Variables
none

Shorthand for empty content.