/// <summary> /// 销毁对象池 /// </summary> public bool DestroyObjectPool <T>() { IObjectPool objectPool = null; if (m_ObjectPools.TryGetValue(typeof(T).FullName, out objectPool)) { objectPool.Shutdown(); return(m_ObjectPools.Remove(typeof(T).FullName)); } return(false); }