AlignmentTypes.Justified

Description

Lines of text are aligned justified (flush) on the left and right side.


using UnityEngine;
using System.Collections;
using TMPro;

public class ExampleClass : MonoBehaviour
{
    void Example()
    {
        GetComponent<TextMeshPro>().alignment = AlignmentTypes.Justified;
    }
}