public float lineHeight ;

Description

具有该样式的文本行的高度,以像素为单位。(只读)

using UnityEngine;

public class Example : MonoBehaviour { // Prints the lineHeight value.

void OnGUI() { Debug.Log(GUI.skin.button.lineHeight); } }