文档

Unity Engine

Unity Engine

HierarchyNodeChildren

A read-only collection of a hierarchy node's children.
阅读时间1 分钟最后更新于 6 小时前

Definition

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.