Answers for "access textmesh unity"

C#
6

unity textmeshpro

using UnityEngine;
using TMPro;

public class quizManager : MonoBehaviour
{
    public TextMeshProUGUI text;
    // Start is called before the first frame update
    void Start()
    {
        text.text = "example";
    }
}
Posted by: Guest on June-03-2021
10

unity get textmesh pro component

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

C# Answers by Framework

Browse Popular Code Answers by Language