public bool stretchHeight ;

설명

Can GUI elements of this style be stretched vertically for better layout?

using UnityEngine;

public class Example : MonoBehaviour { void OnGUI() { GUI.skin.button.stretchHeight = true; } }