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

WheelEvent.GetPooled

切换到手册
public static Experimental.UIElements.WheelEvent GetPooled (Event systemEvent);

参数

systemEvent滚轮 IMGUI 事件。

返回

WheelEvent 返回已初始化的事件。

描述

从事件池获取事件并用给定值初始化。请使用此函数而不是创建新事件。应使用 Dispose() 将从此方法获取的事件释放回池中。


Did you find this page useful? Please give it a rating: