Switch Statements
Tutorial
·
Beginner
·
+10XP
·
5 mins
·
(2278)
Unity Technologies

Switch statements act like streamline conditionals. They are useful for when you want to compare a single variable against a series of constants. In this video you will learn how to write and use switch statements.
This tutorial is included in the Beginner Scripting project.
Previous: Enumerations
Next: This is the final tutorial in the project.
Languages available:
1. Switch Statements
ConversationScript