Unity 打开其他exe文件

using UnityEngine;
using System.Collections;
using System.Diagnostics;/////
public class FeiYuZhu : MonoBehaviour
{
    public void OnClick()
    {
#if UNITY_STANDALONE
       UnityEngine.Debug.Log("打开exe");
       Process.Start(@"飞羽竹");
#endif
#if UNITY_WEBPLAYER
        Debug.Log("打开网页");
        Application.OpenURL(OpenURL);
        
#endif
    }
}

 

posted @ 2015-11-02 10:06  哎呦不能错喔  阅读(1106)  评论(0编辑  收藏  举报