private void OnGUI_EditorSaveButton() { if (GUILayout.Button("保存为json文件")) { if (Editor_TableTool.IsRepeatBuffId(buffList)) { EditorUtility.DisplayDialog("失败", "buffid重名", "ok"); return; } if (Editor_TableTool.CheckBuffParamsNull(buffList)) { EditorUtility.DisplayDialog("失败", "列表没填写正确", "ok"); return; } Editor_TableTool.SaveBuffJsonFile(buffList); EditorWindows_CreateSkill.RefreshBuffData(); } }