Skip to content

Instantly share code, notes, and snippets.

@afolk2
afolk2 / TextMeshProExtensions
Created November 20, 2018 05:48
Simple TextMeshProUGUI extensions for character color changing
using UnityEngine;
using TMPro;
public static class TextMeshProExtensions
{
/// <summary>
/// Changes the color of a single character to a specified color.
/// </summary>
/// <param name="textMeshProUGUI">The TextMeshProUGUI that contains the text.</param>