ドキュメント

Unity Engine

Unity Engine

DisablePicking

Disables picking on a GameObject, or an Array of GameObjects, and their descendants.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

DisablePicking(GameObject, bool)

Disables picking on a GameObject, or an Array of GameObjects, and their descendants.
public void DisablePicking(GameObject gameObject, bool includeDescendants)

Parameters

gameObject

GameObject on which to disable picking.

includeDescendants

Whether to include descendants.

DisablePicking(Scene)

Disables picking on all GameObjects in a Scene.
public void DisablePicking(Scene scene)

Parameters

scene

Scene containing GameObjects on which to disable picking.

DisablePicking(GameObject[], bool)

Disables picking on a GameObject, or an Array of GameObjects, and their descendants.
public void DisablePicking(GameObject[] gameObjects, bool includeDescendants)

Parameters

gameObjects

Array of GameObjects on which to disable picking.

includeDescendants

Whether to include descendants.