Getting ready

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 viewRecipe 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).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.78.102