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 ExampleClass : MonoBehaviour { void OnGUI() { Debug.Log(GUI.skin.button.lineHeight); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def OnGUI() as void: Debug.Log(GUI.skin.button.lineHeight)