public void RemoveRenderobj(EffectRenderObj obj, bool Catche = true) { if (obj == null) { return; } //Debug.Log(); m_EffectRenderObj.Remove(obj.GetID()); if (m_EffectRenderObjList.Contains(obj)) { m_EffectRenderObjList.Remove(obj); } if (Catche) { resetEffect(obj); effectPool.FreeObject(obj); } }