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); }