The name of this GUIStyle. Used for getting them based on name.
// Prints the name of the style. function OnGUI() { Debug.Log(GUI.skin.button.name); }
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void OnGUI() { Debug.Log(GUI.skin.button.name); } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def OnGUI() as void: Debug.Log(GUI.skin.button.name)