SceneVisibilityManager.IsPickingDisabledOnAllDescendants

Switch to Manual
public bool IsPickingDisabledOnAllDescendants (SearchService.Scene scene);

Parameters

sceneScene to check.

Returns

bool Returns true if all descendants have picking disabled.

Description

Checks whether all the descendants of a GameObject have picking disabled.


public bool IsPickingDisabledOnAllDescendants (GameObject gameObject);

Parameters

gameObjectGameObject to check.

Returns

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

Description

Checks whether root GameObjects, and all their descendants, have picking disabled in a scene.