Can GUI elements of this style be stretched vertically for better layout?
function OnGUI() { GUI.skin.button.stretchHeight = true; }
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void OnGUI() { GUI.skin.button.stretchHeight = true; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def OnGUI() as void: GUI.skin.button.stretchHeight = true