Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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.