예제 #1
0
 public EntriesPool(EntrySettings settings, EntriesContainer container,
                    SceneController controller, int entriesNumber)
 {
     _entrySettings = settings;
     _container     = container;
     _controller    = controller;
     _entries       = new List <GameObject>(entriesNumber);
     CreateEntries(entriesNumber);
 }
예제 #2
0
 public BulkInfoPool(GameObject bulkEntryPrefab,
                     EntriesContainer container,
                     int entriesNumber)
 {
     _entryPrefab = bulkEntryPrefab;
     _container   = container;
     _entries     = new List <GameObject>(entriesNumber);
     CreateEntries(entriesNumber);
 }