Versions with this page:
Versions without this page:
如何对齐文本行(选项包括 Left、Right、Center)。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { GetComponent<TextMesh>().alignment = TextAlignment.Left; } }