public ArbitraryPrefabPool(PoolItem prefab, int initialCapacity, Transform itemHolder)
 {
     _prefab     = prefab;
     _itemHolder = itemHolder;
     FillInstances(initialCapacity);
 }
Exemple #2
0
 public override void ReturnGeneric(PoolItem item)
 {
     Return((T)item);
 }