기술 자료

Unity Engine

Download Unity

Unity Engine

ToggleSelectedRecursive

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

Definition

ToggleSelectedRecursive(HierarchyNode, HierarchyTraversalDirection)

Toggles the selection state of the specified node and all its ancestors or descendants recursively.
public void ToggleSelectedRecursive(in HierarchyNode node, HierarchyTraversalDirection direction = HierarchyTraversalDirection.Children)

Parameters

The HierarchyNode to toggle the selection state of.

The direction of traversal.

ToggleSelectedRecursive(ReadOnlySpan<HierarchyNode>, HierarchyTraversalDirection)

Toggles the selection state of the specified nodes and all their ancestors or descendants recursively.
public void ToggleSelectedRecursive(ReadOnlySpan<HierarchyNode> nodes, HierarchyTraversalDirection direction = HierarchyTraversalDirection.Children)

Parameters

The HierarchyNodes to toggle the selection state of.

The direction of traversal.