Beispiel #1
0
 public void RecycleObjectLater(T t)
 {
     if (m_recycleList == null)
     {
         m_recycleList = new FastLinkedList <T>();
     }
     m_recycleList.AddLastItem(t);
     ScheduleRecycle();
 }
Beispiel #2
0
 public void RecycleObject(T t)
 {
     t.RecycleObject();
     m_list.AddLastItem(t);
 }