Answers for "how to set a color of text in unity 2020 script"

C#
10

unity change text color

// To change the color of a text, see below
GameObject.GetComponent<Text>().color = Color.black;
Posted by: Guest on February-22-2020
0

how to set a color of text in unity 2020 script

TextVar = TextGameObject.color = Color.red;
Posted by: Guest on December-05-2020

Code answers related to "how to set a color of text in unity 2020 script"

C# Answers by Framework

Browse Popular Code Answers by Language