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