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