Isolate
Isolates a GameObject and its descendants.
Read time 1 minuteLast updated 5 days ago
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
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
Array of GameObjects to isolate.
Whether to include descendants.
Remarks
If a GameObject is already in Isolation mode when calling this method, the isolated GameObject is hidden.