Versions with this page:
Versions without this page:
文本的哪个点共享变换位置。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { GetComponent<TextMesh>().anchor = TextAnchor.MiddleCenter; } }