public void Isolate (GameObject gameObject, bool includeDescendants);

Parameters

gameObjectGameObject to isolate.
includeDescendantsWhether to include descendants.

Description

Isolates a GameObject and its descendants.

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


public void Isolate (GameObject[] gameObjects, bool includeDescendants);

Parameters

gameObjectsArray of GameObjects to isolate.
includeDescendantsWhether to include descendants.

Description

Isolates an Array of GameObjects and their descendants.

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