Click or drag to resize

GameObjectPoolReparentPooledObjects Property

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

Gets or sets a value indicating whether to re-parent the pooled objects to the pool's Transform, after the objects are returned to the pool.

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
Remarks
Re-parenting is enabled by default and is the safest option, but comes with a small performance penalty. Disabling re-parenting provides the best performance but there is the increased risk of any of the objects being affected by other scripts. As the objects will be parented beneath various other objects, deleting of an unrelated object may cause the pooled object to also be deleted. You should pay great attention to what objects you destroy if re-parenting is disabled.
See Also