标签:
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 } }
标签:
原文地址:http://www.cnblogs.com/Feiyuzhu/p/4929367.html