Setting up the animations

Let's start this section by creating the animations for each of the objects within the scene. To create all the animations for this scene, complete the following steps:

  1. If you have not done so already, import the Chapter 8 Example 2-Starting.unitypackage package. You should see a scene that has two Canvases--one with a button and a background image and another with a chest, items, and a button, as shown in the following screenshot:
In the preceding screenshot, you will also note that there are a few animation clips and controllers provided in the asset folder.
  1. The Chest object needs two animations, flying in from ...

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.