diff --git a/Assets/Scripts/Editor/Util/ProcessUtil.cs b/Assets/Scripts/Editor/Util/ProcessUtil.cs index 7b3d864b10..27c16c350d 100644 --- a/Assets/Scripts/Editor/Util/ProcessUtil.cs +++ b/Assets/Scripts/Editor/Util/ProcessUtil.cs @@ -133,7 +133,13 @@ namespace GameEditor.Util EditorUtility.DisplayDialog("提示", "文件不存在", "确定"); return; } +#if PLATFORM_IOS + ProcessCommand(Application.dataPath, "open " + tPath); //用记事本 + +#else System.Diagnostics.Process.Start("notepad.exe", tPath); //用记事本 + +#endif } //返回 数组第一个是文件夹路径 ,以后的是文件名字 public static string[] OpenFileWin(string path,string ext = "*.*")