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.