SceneVisibilityManager.AreAllDescendantsHidden

Declaration

public bool AreAllDescendantsHidden(GameObject gameObject);

Parameters

gameObject GameObject to check.

Returns

bool Returns true if all descendants are hidden.

Description

Checks whether all the descendants of a GameObject are hidden.


Declaration

public bool AreAllDescendantsHidden(SceneManagement.Scene scene);

Parameters

scene Scene 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.


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