Version 3.3.1.2

Odin has a dedicated attribute overview with examples

ShowDrawerChainAttribute class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Parameter | AttributeTargets.Delegate | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | AttributeTargets.All)]
[Conditional("UNITY_EDITOR")]
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()