文档

Unity Engine

Unity Engine

HierarchyNodeChildren

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

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.