Пример #1
0
 /// <summary>
 /// 释放类对象池
 /// </summary>
 public void ClearClassObjectPool()
 {
     ClassObjectPool.Clear();
 }
Пример #2
0
 public void Dispose()
 {
     ClassObjectPool.Dispose();
     GameObjectPool.Dispose();
 }
Пример #3
0
 public PoolManager()
 {
     ClassObjectPool = new ClassObjectPool();
     GameObjectPool  = new GameObjectPool();
 }