SerializedProperty.depth Manual     Reference     Scripting  
Scripting > Editor Classes > SerializedProperty
SerializedProperty.depth

var depth : int

Description

Nesting depth of the property (Read Only)

See Also: propertyPath.