文档

Unity Engine

Unity Engine

AreAllDescendantsVisible(GameObject)

Checks whether all the descendants are visible.
阅读时间1 分钟最后更新于 1 个月前

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.