Answers for "how to show text in unity using script"

C#
2

get text component unity

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

print text c# unity

/*in unity you have these two options.
  And the text will be printed in the Unity editors console.*/
Debug.Log("text you want to be printed");
print("text you want to be printed");
Posted by: Guest on May-29-2021

Code answers related to "how to show text in unity using script"

C# Answers by Framework

Browse Popular Code Answers by Language