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 } }
时间: 2024-10-27 10:50:38