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()