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