Пример #1
0
 public BaseRecycler(CreateHandler createHandler, CheckValidHandler checkValidHandler, ResetHandler resetHandler, DestroyHandler destroyHandler)
 {
     items               = new QueuedList <T>();
     OnCreateHandler     = createHandler;
     OnCheckValidHandler = checkValidHandler;
     OnResetHandler      = resetHandler;
     OnDestroyHandler    = destroyHandler;
 }
Пример #2
0
 public BaseRecycler()
 {
     items = new QueuedList <T>();
 }