TextMeshPro.faceColor

Color32 faceColor;

Description

The color of the "_FaceColor" property of the material. Changing faceColor will result in an instance of the material.


using UnityEngine;
using System.Collections;
using TMPro;

public class ExampleClass : MonoBehaviour
{
    void Awake()
    {
        TextMeshPro textmeshPro = GetComponent<TextMeshPro>();
        textmeshPro.faceColor = new Color32(255, 128, 0, 255);
    }    
}