예제 #1
0
 public void RecycleObjectLater(T t)
 {
     if (m_recycleList == null)
     {
         m_recycleList = new FastLinkedList <T>();
     }
     m_recycleList.AddLastItem(t);
     ScheduleRecycle();
 }
예제 #2
0
 public ObjectsPool(TimerManager timerManager)
 {
     m_timerManager = timerManager;
     m_list         = new FastLinkedList <T>();
 }