Пример #1
0
        private void LoadOrCreateAtlasResult()
        {
            string storedJson = EditorPrefs.GetString(ATLAS_AUDITOR_STORAGE_KEY, string.Empty);

            cachedSpriteDatabase = new SpriteDatabase();

            if (!string.IsNullOrEmpty(storedJson))
            {
                JsonWrapper.FromJson(storedJson, ref cachedSpriteDatabase);
            }

            spriteFinder.SetResult(SpriteDatabase);
            SpriteAuditorUtility.MemoryDataLoaded();
        }