Example #1
0
#pragma warning restore 0618

        public static void CacheKnowAtlases()
        {
            atlasToAllSprites.Clear();
            tagToSpriteAtlas.Clear();

            if (UsingLegacySpritePacker)
            {
                CacheLegacySpriteAtlases();
            }
            else
            {
                CacheSpriteAtlases();
            }

            SpriteAuditorUtility.ClearAtlasCacheDirty();
        }