划船机停止逻辑,切换图标

This commit is contained in:
Caiyanpeng committed 2021-10-21 18:04:33 +08:00
1 parent e503443f22
commit a4e17a56d0
59 files changed
+4288 -1554

No files matched your search

@@ -48,11 +48,14 @@ public class LoginControllerMobile : MonoBehaviour, INativeOnMobileWxLoginResp
private async void CheckUpdate()
{
#if UNITY_ANDROID
transform.Find("Panel/LoginContainer/LoginScrollView/Viewport/Content/FormContainer-Login/Mask/FormContainer/BtnThirdLogin")
.gameObject.SetActive(true);
#endif
var r = await ConfigHelper.userApi.GetVersions();
if (r.result)
{
#if UNITY_ANDROID
#if UNITY_ANDROID
var info = r.data.Value<JObject>("UnityApk");
Debug.Log(info.Value<string>("Version"));
if (Utils.isUpdate(App.AppVersion, info.Value<string>("Version")))
@@ -61,6 +64,7 @@ public class LoginControllerMobile : MonoBehaviour, INativeOnMobileWxLoginResp
transform.Find("Version").gameObject.SetActive(false);
UIManager.ShowAndroidUpdate(info);
}
#elif UNITY_IOS
var sw = r.data.Value<string>("ThirdPartSwitch");
transform.Find("Panel/LoginContainer/LoginScrollView/Viewport/Content/FormContainer-Login/Mask/FormContainer/BtnThirdLogin")
@@ -72,6 +76,7 @@ public class LoginControllerMobile : MonoBehaviour, INativeOnMobileWxLoginResp
Application.Quit();
}
#endif
App.WorkoutsUrl = info.Value<string>("Url");
}
//if (r.result)
//{