Skip to content

Object Pool Spawn Objects At Transform Radial 2D

Spawn multiple objects from a pool using a transform center with radial angle and radius ranges.

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.
Transform Center transform used for position and base rotation.
Angle Range Min/max angular spread around the transform rotation (2D around Z).
Radius Range Min/max spawn distance from center.
Spawned Objects Optional output list of spawned objects.
Set Parent Optional parent GameObject for spawned objects.