Enums no longer showing in inspector I just updated to 3.2 today and I noticed that all my enums in the inspector are now showing their integer values.
As for Unity's own … Marscaleb , Jan 20, 2015 A look at using enums for flags in Unity, and an explanation of the EnumFlags as Buttons asset store editor script.
You can also Extend the Inspector and show your value using a Label.
I removed static and they are still not showing up, I've tried readding the script and I've also tried putting the inspector in debug mode and nothing is working, I don't understand what is happening endertravis9 , Jan 31, 2019 Enum used is defined in this script, it can't just be any enum, but you can put any method to OnClick slot in inspector, that has this enum as parameter. If you're just testing go …
If this is a "true" project I highly recommend you to do that, if's inside update are a bad habit.
How am I supposed to do it? Unity is the ultimate game development platform. I assume this is because I declared the enum inside that one class, and so the enum is only accessible to that one class. I seem to be one of the few who thinks being able to serialize custom structs in Unity would be useful. But, I would guess there's a valid technical reason it's not supported. Click to expand... Would you see about editing possible typos in the post, i guess it could be useful for some. Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers.