public void DisablePicking (GameObject gameObject, bool includeDescendants);
public void DisablePicking (GameObject[] gameObjects, bool includeDescendants);

Parameters

gameObjectGameObject on which to disable picking.
includeDescendantsWhether to include descendants.
gameObjectsArray of GameObjects on which to disable picking.

Description

Disables picking on a GameObject, or an Array of GameObjects, and their descendants.


public void DisablePicking (SceneManagement.Scene scene);

Parameters

sceneScene containing GameObjects on which to disable picking.

Description

Disables picking on all GameObjects in a Scene.