TextMesh.anchor
var anchor: TextAnchor;
Description

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

	GetComponent(TextMesh).anchor = TextAnchor.MiddleCenter;