Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

SerializedProperty.GetEndProperty

GetEndProperty(includeInvisible: bool = false): SerializedProperty;
SerializedProperty GetEndProperty(bool includeInvisible = false);
def GetEndProperty(includeInvisible as bool = false) as SerializedProperty

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.