private void OnEnable() { EditorApplication.playModeStateChanged += OnPlayModeChanged; SpriteAuditorUtility.SetMemoryDataDirty(); SpriteAuditorUtility.SetResultViewDirty(); SpriteAuditorUtility.SetSizeCheckThreshold(spriteUsageSizeThreshold); }
private void OnEnable() { EditorApplication.playModeStateChanged += OnPlayModeChanged; SpriteAuditorUtility.SetMemoryDataDirty(); SpriteAuditorUtility.SetResultViewDirty(); isOpen = true; }
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(); }