ドキュメント

Unity Engine

Unity Engine

AreAllDescendantsHidden

Checks whether root GameObjects, and all their descendants, are hidden in a Scene.
読み終わるまでの所要時間 1 分最終更新 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.