PickAllObjects(Vector2, List<Object>)
Creates a list of all GameObjects under the specified position in screen coordinates.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static void PickAllObjects(Vector2 position, List<Object> results)
Parameters
The position in screen coordinates. The top-left of the window is (0,0), and the bottom-right is (Screen.width, Screen.height).
The output list to populate with all GameObjects at the specified position.
Remarks
HandleUtility.PickAllObjects