void ISerializationCallbackReceiver.OnAfterDeserialize() { Pool = new GameObjectPool <T>(Root, ItemPrefab, 0); }
public PoolContainer(Transform root, T itemPrefab) : base(root, itemPrefab) { Pool = new GameObjectPool <T>(root, itemPrefab, 0); }