The height of one line of text with this style, measured in pixels. (Read Only)
// Prints the lineHeight value. function OnGUI() { Debug.Log(GUI.skin.button.lineHeight); }
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void OnGUI() { Debug.Log(GUI.skin.button.lineHeight); } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def OnGUI() as void: Debug.Log(GUI.skin.button.lineHeight)