文档

Unity Engine

Unity Engine

SelectAll(bool)

Selects all nodes in the hierarchy.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyModule
public void SelectAll(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.