public TextAnchor anchor ;

설명

Which point of the text shares the position of the Transform.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { GetComponent<TextMesh>().anchor = TextAnchor.MiddleCenter; } }