private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths) { CheckImportedAndDeletedAssetsNetworks(importedAssets, true); CheckImportedAndDeletedAssetsNetworks(deletedAssets, false); if (deletedAssets.Length > 0 || importedAssets.Length > 0) { #region VERY SIMPLE ScriptingSymbolsManager.SetAllVSSymbols(); #endregion /* #region ADS * ScriptingSymbolsManager.SetAdColonySymbol (ExternalPackagesResolver.IsAdColonyAvailable); * ScriptingSymbolsManager.SetAdmobSymbol (ExternalPackagesResolver.IsAdmobAvailable); * ScriptingSymbolsManager.SetChartboostSymbol (ExternalPackagesResolver.IsChartBoostAvailable); * ScriptingSymbolsManager.SetFacebookSymbol (ExternalPackagesResolver.IsFacebookAvailable); #endregion */ #region DOTWEEN ScriptingSymbolsManager.SetAADotweenSymbol(ExternalPackagesResolver.IsDOTweenAvailable); #endregion } }
static void RunOnce() { EditorApplication.update -= RunOnce; ScriptingSymbolsManager.SetAllVSSymbols(); SettingsWindow.showAtStartup = EditorPrefs.GetInt(SettingsWindow.PREFSHOWATSTARTUP, 1) == 1; if (SettingsWindow.showAtStartup) { SDEUtility.OpenSettings(); } }