ドキュメント

Unity Engine

Download Unity

Unity Engine

ToggleSelection

Toggles the selection state of the current selection.
読み終わるまでの所要時間 1 分最終更新 13時間前

Definition

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

exposedOnly

When
true
, selects only exposed nodes (excludes hidden or unreachable nodes). When
false
, selects all nodes regardless of exposure state. Note: Nodes outside the viewport are still selected if they are exposed.