Versions with this page:
Versions without this page:
GUI.Label 控件默认使用的样式。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { public GUIStyle style; void OnGUI() { GUI.skin.label = style; GUILayout.Label("This is a label."); } }