public bool AreAllDescendantsHidden (GameObject gameObject);

Parameters

gameObjectGameObject to check.

Returns

bool Returns true if all descendants are hidden.

Description

Checks whether all the descendants of a GameObject are hidden.


public bool AreAllDescendantsHidden (SceneManagement.Scene scene);

Parameters

sceneScene to check.

Returns

bool Returns true if all root GameObjects of the Scene and all their descendants are hidden.

Description

Checks whether root GameObjects, and all their descendants, are hidden in a Scene.