Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ObjectPool<T0>.Clear

Declaration

public void Clear();

Description

Removes all pooled items. If the pool contains a destroy callback then it will be called for each item that is in the pool.