Answers for "why cant i reference textmesh pro as text unity"

C#
7

textmesh pro text unity

using TMPro;
//Declare variable of type text mesh pro text
TextMeshProUGUI TMPtext;
//Class variables
TMPText.text = "beans";
Posted by: Guest on August-03-2021
11

unity textmesh pro

using UnityEngine;
using TMPro;

public class UiManager : MonoBehaviour
{
    [SerializeField]
    private TextMeshProUGUI TMPtext;
}
Posted by: Guest on September-05-2020

Code answers related to "why cant i reference textmesh pro as text unity"

C# Answers by Framework

Browse Popular Code Answers by Language