unity启动一个exe

 //命名空间
 using System.Diagnostics;
 //exe的路径
 private string voiceClientPath = C:\Program Files\Mozilla Firefox\firefox.exe;
 //启动
 public void Awake()
 {
    
    
    Process.Start(voiceClientPath);
 }

猜你喜欢

转载自blog.csdn.net/weixin_44568736/article/details/123134023