Is it possible to draw more than one property attribute on a field?

So I’m writing a full set of property drawers when I noticed that if I use more than one attribute on a field, only the last attribute will get drawn.

I want both the comment and the foldout to appear. Is multiple attributes drawing supported? - If so, any idea how to achieve it?

I’m not looking for work-arounds, I could easily write a ShowTransformWithComment

Thanks.

Turns out it is possible. I’m not sure if it was previously there in Unity 4.3 but I just found out about the order property that’s in PropertyAttribute. So now you can composite/decorate attributes like:

[Comment("This is a comment"), order = 0]
[ShowTransform, order = 1]
public Transform t;

Just make sure the order makes sense.

Also worth mentioning that Unity changed the way they deal with properties internally. They now have a PropertyHandler from which PropertyDrawer and PropertyDecorator inherit from. I’m happy Unity did something right and implemented composition.