Skip to content

Object Pool Spawn Object At Transform

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

Uses a transform to position and rotate the created object.

Hint

Use ObjectPool Release Object to return it to the pool.

Parameters

Parameter Description
Prefab The prefab to spawn.
Transform Set the position and rotation for the created object using a Transform in the scene.
Spawned Object Store the created GameObject.
Set Parent Set the parent of the created Object.