Object Pool Spawn Objects With Offsets
Spawn multiple objects from a pool, where each next object uses position and rotation offsets from the previous one.
If a pool does not exist, it is created automatically.
Hint
Use ObjectPool Release Object to return spawned objects to the pool.
Parameters
| Parameter | Description |
|---|---|
| Prefab | Prefab to spawn from the pool. |
| Count | Number of instances to spawn. |
| Start Position | Position of the first spawned object. |
| Start Rotation | Rotation of the first spawned object. |
| Offset Position | Position offset added for each next object. |
| Offset Rotation | Rotation offset multiplied for each next object. |
| Spawned Objects | Optional output list of spawned objects. |
| Set Parent | Optional parent GameObject for spawned objects. |