What property drawers are built-in to Unity and defined / available for you to use in your scripts by default?
1 Answer
1Unfortunately, Unity hasn’t yet made this information available anywhere I could find. I was just looking for a list of what’s defined for us, and ended up turning to ILSpy and reflection.
Using ILSpy and poking through UnityEngine.dll, it looks like 2 property drawers are defined for us:
- RangeAttribute
- MultilineAttribute
You can find info on both of these in one of the original blog posts on property drawers: