local WebActivity_Controller = {} -- 日服网页版元旦活动,参数1:ServerID;参数2:roleID local URLModel = "https://sangoku-gokusen.com/newyear2023/index.html?server=%s&roleid=%s" function WebActivity_Controller.OpenWebActivity() -- 打开网页 local url = string.format(URLModel, MDL.Login.GetServerId(), MDL.Player.GetRoleId()) UnityEngine.Application.OpenURL(url) end return WebActivity_Controller