Answers for "unity ui set text color using rgb"

C#
0

how to set a color of text in unity 2020 script

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

how to get text color alpha unity

public Text healthtext;
 
healthtext.text = healthpack.ToString();
        Color zm = healthtext.color;
        zm.a = 0.0f;
Posted by: Guest on April-02-2021

C# Answers by Framework

Browse Popular Code Answers by Language