private void OnEnable()
 {
     EditorApplication.playModeStateChanged += OnPlayModeChanged;
     SpriteAuditorUtility.SetMemoryDataDirty();
     SpriteAuditorUtility.SetResultViewDirty();
     SpriteAuditorUtility.SetSizeCheckThreshold(spriteUsageSizeThreshold);
 }
Пример #2
0
 private void OnEnable()
 {
     EditorApplication.playModeStateChanged += OnPlayModeChanged;
     SpriteAuditorUtility.SetMemoryDataDirty();
     SpriteAuditorUtility.SetResultViewDirty();
     isOpen = true;
 }
Пример #3
0
        public void UpdateSpriteData()
        {
            for (int i = 0; i < spritesData.Count; i++)
            {
                spritesData[i].CheckAtlasData();
            }

            SpriteAuditorUtility.ClearSpriteDataDirty();
            SpriteAuditorUtility.SetMemoryDataDirty();
        }
 public static void ScriptsReloaded()
 {
     SpriteAuditorUtility.SetMemoryDataDirty();
     SpriteAuditorUtility.SetResultViewDirty();
 }