private void OnDisable() { if (loadDataCoroutine != null) { loadDataCoroutine.Stop(); loadDataCoroutine = null; } AppLovinIntegrationManager.Instance.CancelDownload(); EditorUtility.ClearProgressBar(); // Saves the AppLovinSettings object if it has been changed. AssetDatabase.SaveAssets(); }
private void OnDisable() { // New localizations have been shown to the publisher, now remove them. if (shouldMarkNewLocalizations) { EditorPrefs.SetBool(keyNewLocalizationsMarked, true); } if (loadDataCoroutine != null) { loadDataCoroutine.Stop(); loadDataCoroutine = null; } AppLovinIntegrationManager.Instance.CancelDownload(); EditorUtility.ClearProgressBar(); // Saves the AppLovinSettings object if it has been changed. AssetDatabase.SaveAssets(); }