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); } }
Did you find this page useful? Please give it a rating: