This recipe shows how to use Animation Controllers with the clips created in Animation View.
We will animate the light color in this example. You need to have a scene with at least one light and a mesh to see the effect. You can also download the provided example Unity project and go to the Chapter 02 Working with the animation view\Recipe 02 Using the animation view and the animator controller to blend light colors
directory. You will find a scene called Example.unity
there, with a direction light that has already been animated. In this example, we also animate the background color of the camera (the camera is a child object of the directional light).