textmesh pro text unity
using TMPro;
//Declare variable of type text mesh pro text
TextMeshProUGUI TMPtext;
//Class variables
TMPText.text = "beans";
textmesh pro text unity
using TMPro;
//Declare variable of type text mesh pro text
TextMeshProUGUI TMPtext;
//Class variables
TMPText.text = "beans";
unity set text value
//Because the Text variable is public,
//you will have to drag the Text box object onto the script in unity.
//So unity knows what text box to apply the script to.
public Text myText;
myText.text = "Enter the text value here!";
By: Barry Cox
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us