Unity Learn home
View Tutorial Content

Update your graph to switch between glasses

Tutorial
Beginner
+10 XP
45 Mins
(153)
Overview
Skills
Summary
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: December 07, 2022
2021.3
Language
English
Update your graph to switch between glasses