Is there a way to change the colour of a material over time? I want the background of my 2D game to change from white to red in a nice smooth transition.
In Unity 5, you can set the "Albedo" colour. This is the property I am looking to change. I can do this through using this:
back.SetColor("_Color", new Color(255, 0, 0, 0.5f));
However, how can the colour slowly change instead of being so instant?
not tested but try it this way: