using TMPro; //Declare variable of type text mesh pro text TextMeshProUGUI TMPtext; //Class variables TMPText.text = "beans";