Skip to content

Object Pool Spawn Object At Position

Spawn a prefab from a pool. If the pool does not exist it is created.

Hint

Use ObjectPool Release Object to return it to the pool.

Parameters

Parameter Description
Prefab The prefab to spawn.
Position The world position of the spawned object.
Rotation The rotation of the spawned object.
Spawned Object Store the created GameObject.
Set Parent Set the parent of the created Object.