public TextAnchor alignment;
Description 描述
Text alignment.
using UnityEngine;
public class Example : MonoBehaviour { // Prints how text alignment is set.
void OnGUI() { Debug.Log(GUI.skin.button.alignment); } }
Text alignment.
using UnityEngine;
public class Example : MonoBehaviour { // Prints how text alignment is set.
void OnGUI() { Debug.Log(GUI.skin.button.alignment); } }