Version 2.1.0.0

Odin has a dedicated attribute overview with examples

ShowPropertyResolverAttribute class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
public class ShowPropertyResolverAttribute : Attribute, _Attribute

ShowPropertyResolver shows the property resolver responsible for bringing the member into the property tree. This is useful in situations where you want to debug why a particular member that is normally not shown in the inspector suddenly is.

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

Constructors

ShowPropertyResolverAttribute()
public ShowPropertyResolverAttribute()