Answers for "how to change a gui text in a script in unity"

C#
0

unity how to change text in script

Text myText = GameObject.Find("Canvas/Text").GetComponent<Text>();
myText.text = "Your text changed!";
Posted by: Guest on February-13-2020
1

unity gui text

public Text myText;

void Start()
{
    myText.text = "This is my text";
}
Posted by: Guest on October-15-2020

Code answers related to "how to change a gui text in a script in unity"

C# Answers by Framework

Browse Popular Code Answers by Language