Increases the size of the geometry for each character. It does not affect spacing between characters. Extra padding may be necessary when displaying small text to prevent clipping.
using UnityEngine; using System.Collections; using TMPro; public class ExampleClass : MonoBehaviour { void Example() { GetComponent<TextMeshPro>().extraPadding = true; } }