Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsPickingEnabledOnAllDescendants(GameObject)

Checks whether all the descendants are pickable.
Read time 1 minuteLast updated 11 days ago

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.