Version: 2022.2
public void Release (T item);

参数

item The instance to return to the pool.

描述

Returns the instance back to the pool.

If the pool has collection checks enabled and the instance is already held by the pool then an exception will be thrown.