Question by
ivanna23 · Feb 10, 2016 at 12:54 PM ·
custom-inspectorpropertydrawerattribute
Can I make a custom property drawer for Unity types?
For example, say that I want to provide a custom property drawer for CircleCollider2D. I've tried adding the CustomPropertyDrawer attribute to my Drawer class like this:
[CustomPropertyDrawer(typeof(CircleCollider2D), true)]
but the default drawer is still used. Is there any way to replace the default drawer?
Comment