Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HierarchyNodeChildren

A read-only collection of a hierarchy node's children.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Struct
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule
public readonly struct HierarchyNodeChildren

Remarks

If the hierarchy is modified, the collection is invalidated.

Properties

Property

Description

CountThe number of children.
this[]Gets the child at the specified index.

Methods

Method

Description

GetEnumeratorGets an enumerator for the children.

Structs

Struct

Description

HierarchyNodeChildren.EnumeratorAn enumerator for a hierarchy node's children.