public bool AreAllDescendantsVisible (GameObject gameObject);

Parameters

gameObjectGameObject to check.

Returns

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

Description

Checks whether all the descendants are visible.