public void ClearPool(bool bCleanCache) { effectPool.Clear(bCleanCache); m_EffectRenderObj.Clear(); for (int i = 0; i < m_EffectRenderObjList.Count; i++) { m_EffectRenderObjList[i].Release(); m_EffectRenderObjList[i] = null; } m_EffectRenderObjList.Clear(); }