EventBase<T0>.GetPooled

public static T GetPooled();

Returns

T Returns an initialized event.

Description 描述

Gets an event from the event pool. Use this function instead of creating new events. Events obtained from this method should be released back to the pool using Dispose().