GetPooled(Rect, Rect)
Gets an event from the event pool, and initializes it with the specified values. Use this method instead of instancing new events. Use Dispose() to release events back to the event pool.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static GeometryChangedEvent GetPooled(Rect oldRect, Rect newRect)
Parameters
Returns
Type | Description |
|---|---|
| GeometryChangedEvent | An initialized event. |