Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Clear()

Removes all pooled items. If the pool contains a destroy callback then it will be called for each item that is in the pool.
Read time 1 minuteLast updated 6 days ago

Definition

public void Clear()