- Home /
Question by
greatwhiteshark17283 · Dec 31, 2013 at 03:19 AM ·
colorrenderblend
How to blend colors gradually?
If I had these two variables:
var blue = Color.blue;
var green = Color.green;
would I be able to make it so then the two colors gradually blend with each other over time and alter the color of a certain game object? If it worked correctly, then the color would start off as blue and then become green over time.
Comment
Best Answer
Answer by KellyThomas · Dec 31, 2013 at 03:38 AM
Color.Lerp(blue, green, t)
Here are the docs.