DeselectRecursive
Clears the selection state of the specified node and all its ancestors or descendants recursively.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyModule
DeselectRecursive(HierarchyNode, HierarchyTraversalDirection)
Clears the selection state of the specified node and all its ancestors or descendants recursively.
public void DeselectRecursive(in HierarchyNode node, HierarchyTraversalDirection direction = HierarchyTraversalDirection.Children)
Parameters
DeselectRecursive(ReadOnlySpan<HierarchyNode>, HierarchyTraversalDirection)
Clears the selection state of the specified nodes and all their ancestors or descendants recursively.
public void DeselectRecursive(ReadOnlySpan<HierarchyNode> nodes, HierarchyTraversalDirection direction = HierarchyTraversalDirection.Children)