文档

Unity Engine

Unity Engine

IsPickingEnabledOnAllDescendants(GameObject)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool IsPickingEnabledOnAllDescendants(GameObject gameObject)

Parameters

gameObject

GameObject on which to do the check.

Returns

Type

Description

boolReturns true if all descendants of the GameObject are pickable.