Пример #1
0
        public List <Brick> SpawnMultiple(int amount)
        {
            for (int i = 0; i < amount; i++)
            {
                _activeBricks.Add(_brickPool.Spawn(_container));
            }

            return(_activeBricks);
        }