ドキュメント

Unity Engine

Unity Engine

Isolate

Isolates a GameObject and its descendants.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

Isolate(GameObject, bool)

Isolates a GameObject and its descendants.
public void Isolate(GameObject gameObject, bool includeDescendants)

Parameters

gameObject

GameObject to isolate.

includeDescendants

Whether to include descendants.

Remarks

If a GameObject is already in Isolation mode when calling this method, the isolated GameObject is hidden.

Isolate(GameObject[], bool)

Isolates an Array of GameObjects and their descendants.
public void Isolate(GameObject[] gameObjects, bool includeDescendants)

Parameters

gameObjects

Array of GameObjects to isolate.

includeDescendants

Whether to include descendants.

Remarks

If a GameObject is already in Isolation mode when calling this method, the isolated GameObject is hidden.