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
Your answer
![](https://koobas.hobune.stream/wayback/20220612063601im_/https://answers.unity.com/themes/thub/images/avi.jpg)