Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AreAllDescendantsVisible(GameObject)

Checks whether all the descendants are visible.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool AreAllDescendantsVisible(GameObject gameObject)

Parameters

gameObject

GameObject to check.

Returns

Type

Description

boolReturns true if all descendants of the GameObject are visible.