Chapter 5. Decorating the UI

In this chapter, we will cover the following recipes:

  • Creating an extendable element with a final fade effect
  • Creating an extendable and rotating element with a final fade effect
  • Creating bars that randomly go up and down
  • Making a floating UI element
  • Adding shadows to text
  • Adding outlines to text

Introduction

In this chapter, we will see how to create dynamic elements to decorate our UI. We will start with elements used to decorate the background, such as fading and rotating effects. This may perhaps include some with a very low alpha value. Then, we will demonstrate how to create elements for the foreground of our UI, such as sci-fi bars or a floating UI element. At the end of this chapter, we will explore the UI Effect component, the Shadow (Script) component, and the Outline (Script) component, and see how we can use them to decorate our UI.

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

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