Ultimate Pooling Scripting Reference
PoolGroup Fields |
The PoolGroup type exposes the following members.

Name | Description | |
---|---|---|
![]() |
eventType |
The method used to inform a spawned instance when it is added to or removed from the pool.
|
![]() |
maxAmount |
The max amount of instances that the pool can contain. If this amount is exceeded then the pool will need to destroy some objects.
|
![]() |
parentInstances |
When true, all spawned instances will be added as child objects to the managing pool group.
|
![]() |
pooled |
A collection of objects that are ready to be spawned.
|
![]() |
prewarmAmount |
The amount of inctances to preload.
|
![]() |
prewarmPerFrame |
The max amount of instances to preload per frame.
|
![]() |
prewarmPool |
Should the pool preload a set number of objects at startup.
This can avoid frame spikes cause by calls to 'Instantiate' but may increase loading time.
|
![]() |
tracked |
A collection of objects that have been spawned by this pool.
|
