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

EventBase<T0>.GetPooled

切换到手册
public static T GetPooled ();

返回

T 事件。

描述

从事件池中获取一个事件。请使用此函数而不是新建事件。应使用 ReleaseEvent() 将从此函数获取的事件释放回池中。