using UnityEngine; using UnityEngine.WSA; public class test : MonoBehaviour { void Start () { //打开百度 Launcher.LaunchUri("www.baidu.com", false); //打开图片 Launcher.LaunchUri("C:\\Users\\Administrator\\Desktop\\TEXT.jpg", false); //打开qq Launcher.LaunchUri("D:\\QQ\\Bin\\QQScLauncher.exe", false); } }
原文地址:https://www.cnblogs.com/Jason-c/p/9253854.html
时间: 2024-10-23 07:16:24