Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

SerializedProperty.GetEndProperty

public SerializedProperty GetEndProperty(bool includeInvisible = false);

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.

Did you find this page useful? Please give it a rating: