Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToggleSelected

Toggles the selection state of the specified node.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyModule

ToggleSelected(HierarchyNode)

Toggles the selection state of the specified node.
public void ToggleSelected(in HierarchyNode node)

Parameters

The HierarchyNode to toggle the selection state of.

ToggleSelected(ReadOnlySpan<HierarchyNode>)

Toggles the selection state of the specified nodes.
public void ToggleSelected(ReadOnlySpan<HierarchyNode> nodes)

Parameters

The HierarchyNodes to toggle the selection state of.