Пример #1
0
        public void Initialize()
        {
            if (Initialized)
            {
                return;
            }

            _innerPool = new BaseObjectPool(Size, () => Instantiate(_prefab, transform));
            _innerPool.Initialize();
        }
Пример #2
0
 public void Initialize_Initialized()
 {
     _pool.Initialize();
     Assert.That(_pool.Initialized);
 }