SerializedProperty.depth
var depth: int;
int depth;
depth as int
Description

Nesting depth of the property. (Read Only)

See Also: propertyPath.