This commit is contained in:
2026-05-15 16:15:09 +08:00
commit dd3b97bb48
4515 changed files with 1165044 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
using System.Runtime.InteropServices;
using UnityEngine;
public class OpenBrowser
{
// [DllImport("__Internal")]
// public static extern void _openURL(string url);
public static void OpenURL(string url)
{
// 调用iOS原生方法打开URL
Application.OpenURL(url);
}
}