SceneVisibilityManager.Isolate
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.
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.