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