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 on which to enable picking.
Whether to include descendants.
EnablePicking(Scene)
Enables picking on all GameObjects in a Scene.
public void EnablePicking(Scene scene)
Parameters
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
Array of GameObjects on which to enable picking.
Whether to include descendants.