Supporting our Community:
We’re making Learn Premium available to all users in perpetuity.
Start Learning.
Premium

Working with Switch Statements

Tutorial
Beginner
20 Mins
Overview
Details
Summary
In the same family as if and else, switch is a conditional statement. Just as a railroad switch guides a train to one of a number of possible tracks, a switch statement routes the flow of code to one of a number of possible code blocks. In this tutorial, you will learn about Switch Statements and how to use then in Unity.
Select your Unity version
Last updated: June 26, 2020
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.x
4.x
Topics we'll cover
Industry
Language
English
Tutorial
Working with Switch Statements
0
Working with Switch Statements