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

KeyboardEventBase<T0>.GetPooled

マニュアルに切り替える
public static T GetPooled (char c, KeyCode keyCode, EventModifiers modifiers);
public static T GetPooled (Event systemEvent);

パラメーター

c The character for this event.
keyCode The keyCode for this event.
modifiers Event modifier keys that are active for this event.
systemEvent A keyboard IMGUI event.

戻り値

T A keyboard event.

説明

Get an event from the event pool and initialize 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().