Version: 2017.3

GUIStyle.stretchHeight

Cambiar al Manual
public bool stretchHeight ;

Descripción

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

using UnityEngine;
using System.Collections;

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