Unity Learn home
View Tutorial Content

Update your graph to switch between glasses

Tutorial
Beginner
+10 XP
45 Mins
(223)
Summary
Skills
In the previous tutorial, you built functionality for your app to display glasses based on the button that the user selects. However, the glasses’ meshes remain active even if the user selects another button — the glasses are displayed on top of each other.
In this tutorial, you’ll do the following:
  • Expand your graph functionality so that only one pair of glasses is visible at a time.
  • Learn how to use custom events to make your scripts more efficient.
Select your Unity version
Last updated: October 30, 2024
2021.3
2022.3
Language
English
Update your graph to switch between glasses