update:更新SDK 修改

This commit is contained in:
2026-05-21 14:45:27 +08:00
parent dc622282f2
commit f06074d9cc
7 changed files with 252 additions and 79 deletions

View File

@@ -322,6 +322,9 @@ namespace tysdk
result.isSuccess = true;
result.userId = _accountInfo.userId;
SetUserInfo();
#if UNITY_ANDROID
UnityBridgeFunc.RefreshBillingService();
#endif
}
TYSDKCallbackManager.Instance.TryTriggerCallback(result);
@@ -414,6 +417,9 @@ namespace tysdk
{
_accountInfo.AddLinkedAccount(accoutType);
_accountInfo.Save();
#if UNITY_ANDROID
UnityBridgeFunc.RefreshBillingService();
#endif
}
return result;
}