If you have objects placed in your scene that you want to be managed by PoolManager, add the component 'PreRuntimePoolItem' from Component > Path-o-logical > PoolManager
Here is what it would look like if you wanted a "Cube" to be managed as shown in #2 Per-Prefab Options.
Pool Name
Prefab Name
Despawn On Start
Do Not Reparent
Using This Component With Prefabs![]() It IS safe to add this to a prefab that is used both pre-runtime and during runtime. HOWEVER, be aware that this component utilizes the Start() event (which will run when a prefab is instantiated) so it is recommended that you add this component to the prefab but then deactivate it using the check-box in Unity's Inspector to the left of the name of the component.
|
Documentation >