Hi guys,
i’m just trying a simple task, i try to give a gameobject a different color via scrip:
this code has no effect on the color:
Color myColor = new Color(123,123,123);
renderer.material.Color = myColor;
but if i use some of the predefined colors, each of them work:
renderer.material.Color = Color.Red;
so there must be something i forgot in the first part.
Do you know, what ?