Hi guys,
I just posted a new article about about getting a custom string from an enum. It’s not something really Unity specific but it’s definitely something very handy and I’m sure many have came across a similar need.
Take a look here - Unity Quick Tips — Enum Description Extension Method
Let me know if you have any questions or suggestions for more quick tips!
Cheers!
3 Likes
Nice, but I would cache the result (its static after all) in a string[ ] or alike. I don’t like the idea of executing it every frame by someone filling a label with this for example.
Yes, there are definitely ways to improve this but I wanted to keep it simple. Maybe next time I’ll tweak it a little bit. 
Yes, @JohnnyA that was probably the place where I found this solution in the first place. Added it as a reference on my post. Thanks!