Release(TCollection)
Returns the instance back to the pool.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Pool
- Assembly: UnityEngine.CoreModule
Release(T)
public static void Release(TCollection toRelease)
Parameters
Remarks
If the pool has collection checks enabled and the instance is already held by the pool then an exception will be thrown.