Unity C# Tutorial: Using Enums and Switches
Enumerations can be used to create our own variables to use as categories. They are a group of names where each name has a corresponding integer value. Switches allow us to more easily test the value of a variable multiple times.
Find the code here: https://github.com/GameDevEducation/DevEssential_EnumsAndSwitches