Unity Learn home
View Tutorial Content

C# Switch Statements

Tutorial
Beginner
+10 XP
10 Mins
(182)
Overview
Summary
In this tutorial, you will learn about switch statements. These can be used for game logic, like if statements. They are used to efficiently check multiple conditions.
Select your Unity version
Last updated: April 18, 2021
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
Language
English
C# Switch Statements