Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Release(T)

Returns the instance back to the pool.
Read time 1 minuteLast updated 7 days ago

Definition

void Release(T element)

Parameters

element

T
The instance to return to the pool.

Remarks

If the pool has collection checks enabled and the instance is already held by the pool then an exception will be thrown.