Release(T)
Returns the instance back to the pool.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Pool
- Assembly: UnityEngine.CoreModule
void Release(T element)
Parameters
Remarks
If the pool has collection checks enabled and the instance is already held by the pool then an exception will be thrown.