Answers for "unity set color rgba"

C#
0

unity color set alpha

//much like Vector3, individual pieces of a color cannot be changed
//but you can create a temporary color with the same values but a different alpha
image.color = new Color(image.color.r, image.color.g, image.color.b, 1f);
Posted by: Guest on November-18-2021
0

unity color by rgb

myColor = new Color(red,green,blue);
//where red, green, and blue are float values between 0-255
Posted by: Guest on September-16-2021

C# Answers by Framework

Browse Popular Code Answers by Language