From 7d59d4abc415b769fc4a25961fc669132d4247af Mon Sep 17 00:00:00 2001 From: "Liubing\\LB" Date: Fri, 3 Apr 2026 19:00:04 +0800 Subject: [PATCH] =?UTF-8?q?update:=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sdk-intergration/Packages/tysdk/Runtime/UnityBridgeFunc.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk-intergration/Packages/tysdk/Runtime/UnityBridgeFunc.cs b/sdk-intergration/Packages/tysdk/Runtime/UnityBridgeFunc.cs index 5da0253..f2166ff 100644 --- a/sdk-intergration/Packages/tysdk/Runtime/UnityBridgeFunc.cs +++ b/sdk-intergration/Packages/tysdk/Runtime/UnityBridgeFunc.cs @@ -168,6 +168,11 @@ namespace tysdk public static void ChangeLinkAccount(EAccoutType accoutType, int oldUserId, int newUserId) { using(var sdkManager = new AndroidJavaClass(SDK_CLASS)) + if (accoutType == EAccoutType.hwVkid) + { + sdkManager.CallStatic("ChangeLinkAccount",AccountInfo.hwVkid,oldUserId,newUserId); + } + else { sdkManager.CallStatic("ChangeLinkAccount", accoutType.ToString(), oldUserId, newUserId); }