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); }
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); }