EnablePicking
Enables picking on a GameObject, or an array of GameObjects, and its descendants.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
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.