Unity Learn home
View Tutorial Content

Turn on the glasses with buttons

Tutorial
Beginner
+10 XP
1 Hour
(48)
Summary
Skills
You’ve learned how to detect button clicks using script graphs, so now it’s time to make something happen when a click is detected. In this tutorial, you’ll make your UI buttons control the visibility of each pair of glasses.
In this tutorial you'll do the following:
  • Create tags to help identify each pair of glasses.
  • Build the complete functionality for one pair of glasses.
  • Duplicate and modify the graph for the remaining two pairs of glasses.
Select your Unity version
Last updated: September 30, 2024
2021.3
2022.3
Language
English
Turn on the glasses with buttons