Animating UI Elements
Since we have already discussed how to create animation transitions for buttons, in this chapter, we’ll take a look at animation transitions more thoroughly and discuss how to create animations for UI elements in a more general sense.
This chapter assumes that you have a basic understanding of Unity’s Animation System and will not go into detail describing the names of the various menus and layout of the Animation Window and Animator Window. Animation Clips and Animators will be described briefly, with a focus on how they relate to UI and their implementation, which will be discussed in the examples at the end of the chapter.
In this chapter, we will discuss the following topics:
- Applying animations to the various UI elements
- Creating a pop-up window that fades in and out
- Creating a complex Animation System with a State Machine and Animation Events
Even though I am assuming that you have a basic understanding of Unity...