Marscaleb , Jan 20, 2015 How am I supposed to do it? 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. I assume this is because I declared the enum inside that one class, and so the enum is only accessible to that one class. If you're just testing go … 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.
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. Unity is the ultimate game development platform.
If this is a "true" project I highly recommend you to do that, if's inside update are a bad habit. 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 As for Unity's own … A look at using enums for flags in Unity, and an explanation of the EnumFlags as Buttons asset store editor script.
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. I seem to be one of the few who thinks being able to serialize custom structs in Unity would be useful. You can also Extend the Inspector and show your value using a Label.