Should the text be wordwrapped?
function OnGUI() { GUI.skin.button.wordWrap = true; }
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void OnGUI() { GUI.skin.button.wordWrap = true; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def OnGUI() as void: GUI.skin.button.wordWrap = true