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 分最終更新 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. |