Unity Enum generation tool
Add to your project manifiest by path [%UnityProject%]/Packages/manifiest.json new Scope:
{
"dependencies": {
"com.unigame.uberenum" : "https://github.com/UnioGame/UberEnums.git",
"com.annulusgames.unity-codegen": "https://github.com/UnioGame/UnityCodeGen.git?path=/Assets/UnityCodeGen"
}
}
Generated Enum
UberEnumApi.CreateAndGenerateEnum(
$"{nameof(CharacterInfo)}Id", map.value, overwrite: true,
isStrictlyOrdered: true, isFlags: false, isReadOnly: true);