public static bool IsValidExcelFile() { Menu.SetChecked(READ_MENU_PATH, !ExcelImportPath.IsInvalidReadFilePath()); Menu.SetChecked(WRITE_MENU_PATH, !ExcelImportPath.IsInvalidWriteFolderPath()); return(Menu.GetChecked(READ_MENU_PATH) && Menu.GetChecked(WRITE_MENU_PATH)); }
public static bool SaveWriteFolderPath() { var path = EditorUtility.SaveFolderPanel("저장경로 선택", Application.dataPath, string.Empty); if (!ExcelImportPath.IsInvalidWriteFolderPath(path)) { ExcelImportPath.SaveWriteFolderPath(path); return(true); } return(false); }