update:更新tysdk:注意直接consume了
This commit is contained in:
@@ -83,6 +83,10 @@ public class SDKTest : MonoBehaviour
|
||||
//===============================================================================
|
||||
//
|
||||
_InitBtn.onClick.AddListener(Init);
|
||||
TYSdkFacade.OnInitComplete += (success, msg) =>
|
||||
{
|
||||
_messageTxt.text = success ? $"Init OK: {msg}" : $"Init Failed: {msg}";
|
||||
};
|
||||
_loginGuestBtn.onClick.AddListener(() => OnLogin(EAccoutType.hwGuest));
|
||||
_loginGoogleBtn.onClick.AddListener(() => OnLogin(EAccoutType.hwGoogle));
|
||||
_loginFbBtn.onClick.AddListener(() => OnLogin(EAccoutType.hwFacebook));
|
||||
@@ -113,6 +117,7 @@ public class SDKTest : MonoBehaviour
|
||||
|
||||
void Init()
|
||||
{
|
||||
_messageTxt.text = "Initializing...";
|
||||
TYSdkFacade.Instance.Init();
|
||||
TDAnalytics.Init("0caf287574bd4a9bb08be8995705ef6f", "https://122-slg-online01.qijihdhk.com:8991");
|
||||
|
||||
@@ -132,6 +137,7 @@ public class SDKTest : MonoBehaviour
|
||||
Debug.Log($"customId = {customId}, customId_2 = {customId_2}");
|
||||
|
||||
UnityBridgeFunc.UnityResetServerUrl("https://128-hwsfsdk-sdk-test01.qijihdhk.com");
|
||||
GContext.container.Resolve<IConfig>().Set("PAY_VERIFY_URL", "https://192.168.9.91:7036/api/FlexionCallback");
|
||||
}
|
||||
|
||||
private void UpdateChannelTitle()
|
||||
|
||||
Reference in New Issue
Block a user