Release(T)
Returns the instance back to the pool.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Pool
- Assembly: UnityEngine.CoreModule
public void Release(T item)
Parameters
Remarks
If the pool has collection checks enabled and the instance is already held by the pool then an exception will be thrown.