Enumerations

Tutorial

·

Beginner

·

+10XP

·

5 mins

·

(2363)

Unity Technologies

Enumerations

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

Languages available:

1. Enumerations


EnumScript


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

Complete this tutorial