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