Hello all, I'm making a game which heavily relies on custom resources which are edited in-editor via the inspector. For my armor and weapon stat requirements, I have the following dictionary which uses a character skills enum to set the keys for the Dictionary. This works all well and good for other dropdowns, such as the scaling dropdown (shown in the second screenshot), but the inspector only reads out the enum names for dropdown lists it seems (as shown in the first screenshot). Is there a way to get it to display the string value of the enum rather than the integer position?
#Display enum value names in inspector?
3 messages · Page 1 of 1 (latest)
It's not the biggest deal in the world by any means, it has just been bugging me and seems like something that could possibly be a good QOL change in the future.
Unfortunately not, because Dictionaries cannot be typed. So all it knows is that those values are 0 - it has no idea that they're part of an enum.