public static void OnPreRender() { bool flag = PackageEditorAtlasMonitor.CheckForColorSpaceChange(); bool flag2 = PackageEditorAtlasMonitor.CheckForImportedTextures(); bool flag3 = PackageEditorAtlasMonitor.CheckForImportedVectorImages(); bool flag4 = flag | flag2; if (flag4) { UIRAtlasManager.MarkAllForReset(); VectorImageManager.MarkAllForReset(); } else { bool flag5 = flag | flag3; if (flag5) { VectorImageManager.MarkAllForReset(); } } }
public static void StaticInit() { PackageEditorAtlasMonitor.StaticInit(); }