SerializedProperty.CountInProperty

public int CountInProperty();

Description

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

This is useful for allocating height for drawing this property including its children. Note that calling the method will move the property forward, so if this is not the desired behavior make a copy of the property before calling the method using Copy.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答