Version: 5.5
public TextAlignment alignment ;

Description

Выравнивание строк (лево, право, центр).

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { GetComponent<TextMesh>().alignment = TextAlignment.Left; } }