PickRectObjects(Rect)
Pick GameObjects that lie within a specified screen rectangle.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static GameObject[] PickRectObjects(Rect rect)
Parameters
A screen rectangle specified with pixel coordinates.
Returns
Type | Description |
|---|---|
| GameObject[] |
Remarks
This is useful for implementing multi-select tools that allow the user to drag a rectangle around the desired objects.