Click or drag to resize

PoolManagerBaseTManagerSettings, TPool, TPoolSettings, TSource, TInstanceDestroyPool Method

[This is preliminary documentation and is subject to change.]

Destroys the specified pool that's attached to the manager.

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public void DestroyPool(
	TPool pool,
	bool destroyContainer = false
)

Parameters

pool
Type: TPool
The pool to destroy. It must be attached to the manager.
destroyContainer (Optional)
Type: SystemBoolean
Whether the GameObject the pool was attached to should also be destroyed.
See Also