gameObject | GameObject to check. |
bool Returns true if all descendants are hidden.
Checks whether all the descendants of a GameObject are hidden.
scene | Scene to check. |
bool Returns true if all root GameObjects of the Scene and all their descendants are hidden.
Checks whether root GameObjects, and all their descendants, are hidden in a Scene.