Unity Learn home
View Project Content

C# Survival Guide - Switch Statements

Project
Beginner
+60 XP
45 Mins
(161)
Overview
Summary
In this project, you will learn about switch statements. These are a cleaner option than if statements when handling several possible outcomes.
Project Objective
By the end of this project, you will be able to:
  • Understand when switch statements should be used
  • Understand applications for switch statements in game systems
  • Use switch statements in your code
Select your Unity version
Last updated: April 19, 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