void SaveData() { LanguageDataUtils. SaveEditorConfig(config); LanguageDataEditorUtils.SaveData(currentLanguage, selectFullFileName, currentFileDataTable); LanguageManager.IsInit = false; LanguageManager.Release(); GlobalEvent.DispatchEvent(EditorEvent.LanguageDataEditorChange); }
void SaveData() { LanguageDataUtils.SaveEditorConfig(config); LanguageDataEditorUtils.SaveData(currentLanguage, selectFullFileName, currentFileDataTable); LanguageManager.Release(); LanguageManager.SetLanguage(currentLanguage); GlobalEvent.DispatchEvent(EditorEvent.LanguageDataEditorChange); UnityEditor.AssetDatabase.Refresh(); }