Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/6
This package provides a data-driven replacement for standard C# Enums. And since the data files are specified inside Streaming Assets, players can mod in their own entries.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.29f1
Compatible
Compatible
Compatible
Description

Data Driven Enums is a package that lets you tie meta data to int or string ID values and serves as a replacecment for C# enums. This allows developers to move away from hard coding against specific enum values and drive code decisions with data instead. When we do this, it makes the code cleaner and easier to maintain while also making it trivial to add new entries in the enumeration. Additionally, when this data is defined from files inside of StreamingAssets, modders will have a much easier time modding in entries and extending the life of your game.


Take a look at the following video links for more information:


Send questions and comments to:

ecktechgames@gmail.com


And here's a link to the Full Documentation.

Technical details

Features:

  • Enumeration and EnumValue base classes that your Data Driven Enumerations will inherit from
  • Code Generation Templates / Helper Window to create your own Data Driven Enumerations
  • Custom Property Drawer to display string and int backed Enums as a Popup List in the inspector

Supported OS:

This package uses standard C# and has no special OS considerations. It should work with any OS that Unity supports.


Full Documentation

Data Driven Enums

(not enough ratings)
14 users have favourite this asset
(14)
$15
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
375.1 KB
Latest version
1.0.0
Latest release date
Sep 29, 2023
Original Unity version
2021.3.29
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR