ドキュメント

Unity Engine

Unity Engine

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

public static GeometryChangedEvent GetPooled(Rect oldRect, Rect newRect)

Parameters

oldRect

The old dimensions of the element.

newRect

The new dimensions of the element.

Returns

Type

Description

GeometryChangedEventAn initialized event.