light blue rgb unity code example
Example 1: how to change the color of an object in unity c# rgb
void Update ()
{
if(Input.GetKeyDown(KeyCode.R))
{
gameObject.GetComponent<Renderer>().material.color = new Color(233, 79, 55);
}
}
Example 2: new color unity
Color color = new Color(red,green,blue,alpha)//Alpha 0 is transparent