Chapter 4. Creating Panels for Menus

In this chapter, we will cover the following recipes:

  • Creating a toggle group
  • Showing the slider value as a percentage
  • Adding upper and lower bounds to the slider
  • Making UI elements affected by different lights
  • Making a draggable panel
  • Making a resizable panel
  • Creating a drag-and-drop element
  • Developing an MP3 player

Introduction

In this chapter, we are going to learn how to make different kinds of panels to create interactive menus. These menus will feature elements such as sliders and draggable and resizable features. This chapter will conclude by showing you how to create a simple MP3 player.

Get Unity UI Cookbook 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.