using UnityEngine;
using System.Collections;
using System.Diagnostics; 
public class LoadExe : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
    void OnGUI()
    {
       if(GUI.Button(new Rect(20,20,100,45),"Notepad"))
       {
           Process.Start("notepad");
       }
    }
}

更多推荐