internal static void GetProductsInfoAsync(ApexSettings settings, bool checkForUpdates, Action <IEnumerable <ProductInfo> > callback) { EditorAsync.Execute( () => GetProductsInfo(settings, checkForUpdates), products => { if (settings.isDirty) { settings.SaveChanges(); } callback(products); }); }
internal static void GetProductsInfoAsync(ApexSettings settings, bool checkForUpdates, Action<IEnumerable<ProductInfo>> callback) { EditorAsync.Execute( () => GetProductsInfo(settings, checkForUpdates), products => { if (settings.isDirty) { settings.SaveChanges(); } if (_assetsDownloaded) { _assetsDownloaded = false; AssetDatabase.Refresh(); } callback(products); }); }
internal static void GetProductsInfoAsync(ApexSettings settings, bool checkForUpdates, Action <IEnumerable <ProductInfo> > callback) { EditorAsync.Execute( () => GetProductsInfo(settings, checkForUpdates), products => { if (settings.isDirty) { settings.SaveChanges(); } if (_assetsDownloaded) { _assetsDownloaded = false; AssetDatabase.Refresh(); } callback(products); }); }