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