기술 자료

Unity Engine

Unity Engine

AreAllDescendantsHidden

Checks whether root GameObjects, and all their descendants, are hidden in a Scene.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

AreAllDescendantsHidden(Scene)

Checks whether root GameObjects, and all their descendants, are hidden in a Scene.
public bool AreAllDescendantsHidden(Scene scene)

Parameters

scene

Scene to check.

Returns

Type

Description

boolReturns true if all root GameObjects of the Scene and all their descendants are hidden.

AreAllDescendantsHidden(GameObject)

Checks whether all the descendants of a GameObject are hidden.
public bool AreAllDescendantsHidden(GameObject gameObject)

Parameters

gameObject

GameObject to check.

Returns

Type

Description

boolReturns true if all descendants are hidden.