Versions with this page:
Versions without this page:
Which point of the text shares the position of the Transform.
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { GetComponent<TextMesh>().anchor = TextAnchor.MiddleCenter; } }