If non-0, any GUI elements rendered with this style will have the height specified here.
// Prints the value of fixedHeight. function OnGUI() { Debug.Log(GUI.skin.button.fixedHeight); }
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void OnGUI() { Debug.Log(GUI.skin.button.fixedHeight); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def OnGUI() as void: Debug.Log(GUI.skin.button.fixedHeight)