public float fixedHeight ;

Descripción

If non-0, any GUI elements rendered with this style will have the height specified here.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnGUI() { Debug.Log(GUI.skin.button.fixedHeight); } }