Version: 5.4
public TextAlignment alignment ;

Description

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

using UnityEngine;
using System.Collections;

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