Unity3D启动外部exe

来源:互联网 发布:乐乎lofter手机版 编辑:程序博客网 时间:2024/05/29 17:01

效果如下


代码

using System.Diagnostics;if (GUI.Button(new Rect(0, 50, 150, 50), "Start CMD"))        {            Process.Start("C://Windows/System32/cmd.exe");        }


原创粉丝点击