This asset 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.

YouTube Explanation
Enum Creation Tutorial
Modding Tutorial

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.

And here’s a link to the Full Documentation.

You can purchase the Data Driven Enums asset at the Unity Asset Store here:
https://assetstore.unity.com/packages/tools/utilities/data-driven-enums-199213

Update:
CodeMonkey selected this asset as a Top 10 asset when we released it in October! 😎

Check out what he had to say here:

Leave a comment