开发环境unity2018.4.9
示例代码:
_URL.onClick.AddListener(() =>
{
Application.OpenURL("weixin://");//移动端打开微信应用
});
http.onClick.AddListener(() =>
{
Application.OpenURL("http://www.baidu.com");//传送至此链接
});
openfile.onClick.AddListener(() => {
Application.OpenURL(@"file://E:googledownload");//打开e盘googledownload文件夹,开发小工具常用
});