Dispose()
Removes all pooled items and invokes the pool's action on destroy callback for each item in the pool.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Pool
- Assembly: UnityEngine.CoreModule
public void Dispose()
Remarks
The action on destroy callback is the delegate passed to the constructor as the optional parameter.
actionOnDestroy