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

パラメーター

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

説明

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


public void DisablePicking (SceneManagement.Scene scene);

パラメーター

sceneScene containing GameObjects on which to disable picking.

説明

Disables picking on all GameObjects in a Scene.