UI Images and Effects
We’ve worked with UI Images in the previous chapters, but now we’ll learn more about the component’s specific properties, as well as how to access the component via code. We’ll also look at some of the UI effect components that we can apply to our UI objects for visual appeal. While we will look at the components thoroughly, the majority of this chapter focuses on specific worked-out examples of UI functionality that you will find in video games, particularly mobile video games.
In this chapter, we will discuss the following topics:
- Creating UI Images and setting their properties
- Using the various UI effects components to further customize our graphical UI
- Implementing horizontal and circular progress bars
- How to create Buttons that swap sprites without using the built-in transitions, like a mute/unmute Button
- Adding a press-and-hold/long-press functionality
- Creating an onscreen four-directional virtual...