Scriptable Enum

Scriptable Enum

"ScriptableEnums" is a term used when a ScriptableObject is utilized like an enum. Traditionally, enums are used to represent a fixed set of options such as operators (less than, equal, greater than), directions (north, south, east, west), and other categories like damage types (piercing, blunt, magic), teams, behaviors, and so on. In these scenarios, when enums are defined by code, a programmer must edit the code to add, remove, or modify an enum.

Last updated