This version of Unity is unsupported.

SceneVisibilityManager.AreAllDescendantsVisible

Declaration

public bool AreAllDescendantsVisible(GameObject gameObject);

Parameters

gameObject GameObject to check.

Returns

bool Returns true if all descendants of the GameObject are visible.

Description

Checks whether all the descendants are visible.