日语问卷链接

This commit is contained in:
2025-12-02 13:42:34 +08:00
parent 9b59e51ccf
commit a356d0291d
13 changed files with 24 additions and 29 deletions
+7 -1
View File
@@ -47,7 +47,13 @@ namespace AibisDream.UI
others.Find("问卷").GetComponent<Button>().onClick.AddListener(() =>
{
SettingLoader.Instance.TryRead("Language", out var currentLanguage);
var url = currentLanguage == "zh-Hans" ? ConstRef.SurveyURL_CN : ConstRef.SurveyURL_EN;
string url = currentLanguage switch
{
"zh-Hans" => ConstRef.SurveyURL_CN,
"en" => ConstRef.SurveyURL_EN,
"ja-JP" => ConstRef.SurveyURL_JP,
_ => ConstRef.SurveyURL_EN,
};
Application.OpenURL(url);
});
others.Find("关注").GetComponent<Button>().onClick.AddListener(() =>