TextMesh Pro Text Unity
using TMPro;
//Declare variable of type text mesh pro text
TextMeshProUGUI TMPtext;
//Class variables
TMPText.text = "beans";
MunchDuster
using TMPro;
//Declare variable of type text mesh pro text
TextMeshProUGUI TMPtext;
//Class variables
TMPText.text = "beans";
using UnityEngine;
using TMPro;
public class UiManager : MonoBehaviour
{
[SerializeField]
private TextMeshProUGUI TMPtext;
}
GetComponent<TMPro.TextMeshProUGUI>().text