Versions with this page:
Versions without this page:
是否可以水平拉伸该样式的 GUI 元素来改善布局效果?
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void OnGUI() { GUI.skin.button.stretchWidth = true; } }