기술 자료

Unity Engine

Unity Engine

IsPickingDisabledOnAllDescendants

Checks whether all the descendants of a GameObject have picking disabled.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

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.