Answers for "text of a ui text object unity"

C#
4

get text component unity

GameObject.GetComponent<Text>().text = "Hello World!";
Posted by: Guest on December-23-2020
0

unity gui text

public Text myText;

void Start()
{
    myText.text = "This is my text";
}
Posted by: Guest on April-03-2022

C# Answers by Framework

Browse Popular Code Answers by Language