GUIStyle.name

var name : String

Description

The name of this GUIStyle. Used for getting them based on name....

JavaScript
// Prints the name of the style at customStyles[0]

function OnGUI() {
if(GUI.skin.customStyles.Length > 0)
Debug.Log(GUI.skin.customStyles[0].name);
}