ドキュメント

Unity Engine

Unity Engine

IsPickingDisabledOnAllDescendants

Checks whether all the descendants of a GameObject have picking disabled.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

IsPickingDisabledOnAllDescendants(Scene)

Checks whether all the descendants of a GameObject have picking disabled.
public bool IsPickingDisabledOnAllDescendants(Scene scene)

Parameters

scene

Scene to check.

Returns

Type

Description

boolReturns true if all descendants have picking disabled.

IsPickingDisabledOnAllDescendants(GameObject)

Checks whether root GameObjects, and all their descendants, have picking disabled in a scene.
public bool IsPickingDisabledOnAllDescendants(GameObject gameObject)

Parameters

gameObject

GameObject to check.

Returns

Type

Description

boolReturns true if all root GameObjects of the Scene and all their descendants have picking disabled.