Пример #1
0
        public GeneralSpriteProvider(AssetBundle assetBundle, string catalogContent)
        {
            _assetBundle        = assetBundle;
            _spritesInformation = new SpritesInformation(catalogContent);

            _cachedSprites = new Utils.RingBuffer <Rendering.CachedSpriteInformation>(Constants.MapSizeX * Constants.MapSizeY * Constants.MapSizeZ * Constants.MapSizeW);
        }
Пример #2
0
        internal GeneralSpriteProvider(AssetBundle assetBundle, string catalogContent)
        {
            m_AssetBundle        = assetBundle;
            m_SpritesInformation = new SpritesInformation(catalogContent);

            m_CachedSpriteInformations = new Utility.RingBuffer <Rendering.CachedSpriteInformation>(Constants.MapSizeX * Constants.MapSizeY * Constants.MapSizeZ * Constants.MapSizeW);
        }