Unity3D调用外部程序

 1、调用外部浏览器

void OnGUI()
{
  if (GUI.Button(new Rect(50, 50, 100, 30), "Click"))
  {

    Process.Start("IExplore.exe", "http://www.sina.com.cn/");

  }

}

2、调用外部EXE

void OnGUI()
{
  if (GUI.Button(new Rect(50, 50, 100, 30), "Click"))
  {
    Process.Start("C:\\Program Files\\Tencent\\QQ\\Bin\\QQ.exe");

  }

}

原文地址:https://www.cnblogs.com/silent2012/p/2611502.html