This version of Unity is unsupported.

ObjectPool<T0>.Dispose

Declaration

public void Dispose();

Description

Removes all pooled items. If the pool contains a destroy callback then it will be called for each item that is in the pool.