Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SceneVisibilityManager.IsPickingEnabledOnAllDescendants

Declaration

public bool IsPickingEnabledOnAllDescendants(GameObject gameObject);

Parameters

gameObject GameObject on which to do the check.

Returns

bool Returns true if all descendants of the GameObject are pickable.

Description

Checks whether all the descendants are pickable.