SceneVisibilityManager.AreAllDescendantsVisible

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.