Version: 2019.4
public bool AreAllDescendantsHidden (GameObject gameObject);

パラメーター

gameObjectGameObject to check.

戻り値

bool Returns true if all descendants are hidden.

説明

Checks whether all the descendants of a GameObject are hidden.


public bool AreAllDescendantsHidden (SceneManagement.Scene scene);

パラメーター

sceneScene 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.