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

function CountInProperty () : int

Description

Count visible children of this property, including this property itself.

This is useful for allocating height for drawing this property including its children.