/// <summary> /// 释放类对象池 /// </summary> public void ClearClassObjectPool() { ClassObjectPool.Clear(); }
public void Dispose() { ClassObjectPool.Dispose(); GameObjectPool.Dispose(); }
public PoolManager() { ClassObjectPool = new ClassObjectPool(); GameObjectPool = new GameObjectPool(); }