Smooth camera background color transition?

Hello
So i am working on a Mobile 2D platformer and everything works but its litterly Black and White… so what i want to do is make the background fade between a list of colors… So i want to make a list of colors and make the background change to the next color in the list with a crossfade kinda effect…

Is there a nice way to do this or do i have to set 10000 of colors to make some kind of fade effect?

Thanks for your time.
sorry if my english is a bad / a little bit off but i’m working on it!

You should be able to use: Unity - Scripting API: Color.Lerp

Here’s an example on how to use it: Controlling duration of Color.Lerp in seconds - Questions & Answers - Unity Discussions

1 Like

Thanks, this helped out a lot!

1 Like

Click here:

http://answers.unity.com/answers/1561431/view.html