Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

SerializedProperty.GetEndProperty

Switch to Manual
public SerializedProperty GetEndProperty(bool includeInvisible = false);
public SerializedProperty GetEndProperty(bool includeInvisible = false);

Parameters

Description

Retrieves the SerializedProperty that defines the end range of this property.

It's the first property that's not a child or grandchild of this property. The end property can be used to iterate over all children of a property by using EqualContents.