Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

SerializedProperty.CountInProperty

public 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.