Answers for "unity show text"

C#
3

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

C# Answers by Framework

Browse Popular Code Answers by Language