Answers for "text mesh pro using"

C#
12

how to edit text mesh pro text

using UnityEngine;
using System.Collections;
using TMPro;

public class ExampleClass : MonoBehaviour
{
	public TextMeshProUGUI textDisplay;
    
    void Example()
    {
        textDisplay.text = "Example Text"      
    }
}
Posted by: Guest on August-12-2020
13

get component text mesh pro

GetComponent<TMPro.TextMeshProUGUI>().text
Posted by: Guest on May-22-2020

C# Answers by Framework

Browse Popular Code Answers by Language