Skip to content

Object Pool Release Object

Return a spawned object to the object pool.

NOTE: If the pool was cleared or destroyed, the object will be destroyed instead.

Parameters

Parameter Description
GameObject The GameObject to return to the pool.

Hint: Use Owner if the FSM is on the spawned object.