기술 자료

Unity Engine

Download Unity

Unity Engine

ExpandRecursive

Expands the specified node and all its ancestors or descendants recursively.
읽는 시간 1분최근 업데이트: 3시간 전

Definition

ExpandRecursive(HierarchyNode, HierarchyTraversalDirection)

Expands the specified node and all its ancestors or descendants recursively.
public void ExpandRecursive(in HierarchyNode node, HierarchyTraversalDirection direction = HierarchyTraversalDirection.Children)

Parameters

The HierarchyNode to expand.

The direction of traversal.

ExpandRecursive(ReadOnlySpan<HierarchyNode>, HierarchyTraversalDirection)

Expands the specified nodes and all their ancestors or descendants recursively.
public void ExpandRecursive(ReadOnlySpan<HierarchyNode> nodes, HierarchyTraversalDirection direction = HierarchyTraversalDirection.Children)

Parameters


The direction of traversal.