unity change text
// To change text of a text UI element use th combination below
textGameObject.GetComponent<UnityEngine.UI.Text>().text = "text";
unity change text
// To change text of a text UI element use th combination below
textGameObject.GetComponent<UnityEngine.UI.Text>().text = "text";
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