public bool stretchHeight;
Description 描述
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; } }
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; } }