Unity Learn home
View Tutorial Content

Add toggles and sliders

Tutorial
Beginner
+10 XP
30 Mins
(256)
Overview
For Educators
Summary
As a UI becomes complex, you will inevitably need to implement toggles and sliders, which each allow the user a unique way to interact with an application. In this tutorial, you will add a toggle that allows the user to turn music on and off and a slider that allows them to control the volume.
By the end of this tutorial, you'll be able to:
  • Identify use cases for Sliders and Toggles in UI design.
  • Implement simple toggle functionality by using the Event System.
  • Implement simple slider functionality by using the Event System.
Select your Unity version
Last updated: August 07, 2023
2022.3
2021.3
2020.3
Language
English
Also included in
Add toggles and sliders