ToggleSelection
Toggles the selection state of the current selection.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyModule
ToggleSelection()
Toggles the selection state of the current selection.
public void ToggleSelection()
ToggleSelection(bool)
Toggles the selection state of the current selection.
public void ToggleSelection(bool exposedOnly)
Parameters
When , selects only exposed nodes (excludes hidden or unreachable nodes). When , selects all nodes regardless of exposure state. Note: Nodes outside the viewport are still selected if they are exposed.
truefalse