SceneVisibilityManager.Isolate

Declaration

public void Isolate(GameObject gameObject, bool includeDescendants);

Parameters

gameObject GameObject to isolate.
includeDescendants Whether 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.


Declaration

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

Parameters

gameObjects Array of GameObjects to isolate.
includeDescendants Whether 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.


Did you find this page useful? Please give it a rating: