ドキュメント

Unity Engine

Unity Engine

EnablePicking

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

Definition

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

EnablePicking(GameObject, bool)

Enables picking on a GameObject, or an array of GameObjects, and its descendants.
public void EnablePicking(GameObject gameObject, bool includeDescendants)

Parameters

gameObject

GameObject on which to enable picking.

includeDescendants

Whether to include descendants.

EnablePicking(Scene)

Enables picking on all GameObjects in a Scene.
public void EnablePicking(Scene scene)

Parameters

scene

Scene containing GameObjects on which to enable picking.

EnablePicking(GameObject[], bool)

Enables picking on a GameObject, or an array of GameObjects, and its descendants.
public void EnablePicking(GameObject[] gameObjects, bool includeDescendants)

Parameters

gameObjects

Array of GameObjects on which to enable picking.

includeDescendants

Whether to include descendants.