Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public BulkInfoPool(GameObject bulkEntryPrefab,
                     EntriesContainer container,
                     int entriesNumber)
 {
     _entryPrefab = bulkEntryPrefab;
     _container   = container;
     _entries     = new List <GameObject>(entriesNumber);
     CreateEntries(entriesNumber);
 }