Version: 2017.2
public bool stretchWidth ;

Descripción

Can GUI elements of this style be stretched horizontally for better layouting?

using UnityEngine;
using System.Collections;

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