Version 2.1.0.0

Odin has a dedicated attribute overview with examples

ShowDrawerChainAttribute class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field)]
public class ShowDrawerChainAttribute : Attribute, _Attribute

ShowDrawerChain lists all prepend, append and value drawers being used in the inspector. This is great in situations where you want to debug, and want to know which drawers might be involved in drawing the property.

Your own custom drawers are highlighted with a green label.

Drawers, that have not been called during the draw chain, will be greyed out in the inspector to make it clear which drawers have had an effect on the properties.

Inheritance
  • System.Object
  • System.Attribute
  • ShowDrawerChainAttribute
Example
public class MyComponent : MonoBehaviour
{
	[ShowDrawerChain]
	public int IndentedInt;
}

Constructors

ShowDrawerChainAttribute()
public ShowDrawerChainAttribute()

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.