The height of one line of text with this style, measured in pixels. (Read Only)
// Prints the lineHeight value of customStyles[0]function OnGUI() { if(GUI.skin.customStyles.Length > 0) Debug.Log(GUI.skin.customStyles[0].lineHeight);}
using UnityEngine;using System.Collections;public class example : MonoBehaviour { void OnGUI() { if (GUI.skin.customStyles.Length > 0) Debug.Log(GUI.skin.customStyles[0].lineHeight); }}
import UnityEngineimport System.Collectionsclass example(MonoBehaviour): def OnGUI(): if GUI.skin.customStyles.Length > 0: Debug.Log(GUI.skin.customStyles[0].lineHeight)