Enumerations

Tutorial
Beginner
+10 XP
5 Mins
Overview
Live
Summary
Enumerations allow you to create a collection of related constants. In this video you will learn how to declare and use enumerations in your code.
This tutorial is included in the Beginner Scripting project.
Previous: Invoke
Next: Switch Statements
Select your Unity version
Last updated: March 20, 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
Language
English
Also included in
Enumerations