Versions with this page:
Versions without this page:
How lines of text are aligned (Left, Right, Center).
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { GetComponent<TextMesh>().alignment = TextAlignment.Left; } }