文档

Unity Engine

Unity Engine

HierarchyFlattenedNode

Represents a flattened hierarchy node.
阅读时间1 分钟最后更新于 1 个月前

Definition

public readonly struct HierarchyFlattenedNode : IEquatable<HierarchyFlattenedNode>

Constructors

Constructor

Description

HierarchyFlattenedNode()Creates a flattened node.

Properties

Property

Description

ChildIndexThe index of the node in its parent's children list.
ChildrenCountThe number of children nodes that the node has.
DepthThe depth of the node.
NextSiblingOffsetThe offset of the next sibling of the node.
NodeThe hierarchy node referenced.
ParentOffsetThe offset of the parent of the node.
TypeThe type of the hierarchy node.

Static Properties

Property

Description

NullRepresents a flattened hierarchy node that is null or invalid.