void OnImported_Google(string Result, string Error, eSpreadsheetUpdateMode UpdateMode) { if (!string.IsNullOrEmpty(Error)) { Debug.Log(Error); ShowError("Unable to access google"); return; } LanguageSourceData source = GetSourceData(); string ErrorMsg = source.Import_Google_Result(Result, UpdateMode); bool HasErrors = !string.IsNullOrEmpty(ErrorMsg); if (HasErrors) { ShowError(ErrorMsg); } serializedObject.Update(); ParseTerms(true, false, !HasErrors); mSelectedKeys.Clear(); mSelectedCategories.Clear(); ScheduleUpdateTermsToShowInList(); mLanguageSource.GetCategories(false, mSelectedCategories); EditorUtility.SetDirty(target); AssetDatabase.SaveAssets(); }