SerializedProperty.depth
var depth: int;
Description

Nesting depth of the property. (Read Only)

See Also: propertyPath.