Version: 2018.1
Experimental: this API is experimental and might be changed or removed in the future.

InputEvent.GetPooled

マニュアルに切り替える
public static Experimental.UIElements.InputEvent GetPooled (string previousData, string newData);

パラメーター

newDataThe new text.
previousDataThe text before the change occured.

戻り値

InputEvent An event.

説明

Gets an event from the event pool and initializes it with the given values. Use this function instead of newing events. Events obtained from this function should be released back to the pool using ReleaseEvent().