PropertyChildren

Represents the children of an InspectorProperty.

namespace Sirenix.OdinInspector.Editor
{
[DefaultMemberAttribute("Item")]
public sealed class PropertyChildren : IEnumerable<InspectorProperty>
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Fields

Return Type Definition Description
InspectorProperty property The InspectorProperty that this instance handles children for.

Constructors

Definition Description
PropertyChildren(InspectorProperty) Initializes a new instance of the PropertyChildren class.

Properties

Return Type Definition Description
int Count The number of children on the property.
InspectorProperty Item Gets a child by index. This is an alias for Get(int).
InspectorProperty Item Gets a child by name. This is an alias for Get(string).

Methods

Return Type Definition Description
InspectorProperty Get(int) Gets a child by index.
InspectorProperty Get(string) Gets a child by name.
IEnumerator<InspectorProperty> GetEnumerator() Gets the enumerator.
string GetPath(int) Gets the path of the child at a given index.
IEnumerable<InspectorProperty> Recurse() Returns an IEnumerable that recursively yields all children of the property, depth first.
void Update() Updates this instance of PropertyChildren.