Chapter 6. Animating the UI

In this chapter, we will cover the following recipes:

  • Appearing and disappearing menu
  • Creating a menu with an entrance transition
  • Creating a menu with an idle animation
  • Animating a button when the cursor is over it
  • Creating a pop-up menu
  • Animate the hearts of the symbolic lives counter
  • Changing the animation of the hearts of the symbolic lives counter through the script

Introduction

In this chapter, we will see how to animate our UI. We will start by making a menu appear and disappear, using only the OnClick() event. Then, we will create new animations for the UI through the Animation window. Next, we will deal with the Animator controller as well. Finally, we will see how we can animate the lives counter that we made in the second chapter, using all that we have covered about animations.

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

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