比赛卡片效果修改;useragent修改;微信错误提示
This commit is contained in:
1 parent
ae6769e24f
commit
e84f14250b
11 files changed
+66
-90
No files matched your search
@@ -52,14 +52,13 @@ public class QuickLoginUser : MonoBehaviour
|
||||
}
|
||||
async void goMain()
|
||||
{
|
||||
#if (UNITY_ANDROID || UNITY_IOS)
|
||||
StartCoroutine("Loading");
|
||||
#endif
|
||||
|
||||
ApiBase.SetCookie(user.Cookie);
|
||||
var r = await ConfigHelper.userApi.QuickLogin();
|
||||
if (r.result)
|
||||
{
|
||||
#if (UNITY_ANDROID || UNITY_IOS)
|
||||
StartCoroutine("Loading");
|
||||
#endif
|
||||
top.GetComponent<LoginController>().SaveInfo(r.data);
|
||||
App.CurrentUser = r.data;
|
||||
App.RideSetting.Sensitivity = App.CurrentUser.Sensitivity;
|
||||
|
||||
@@ -282,18 +282,18 @@ public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterH
|
||||
#else
|
||||
public void OnPointerExit(PointerEventData eventData)
|
||||
{
|
||||
if (_from == "list")
|
||||
{
|
||||
transform.Find("Masking").GetComponent<CanvasGroup>().DOFade(0, 0.3f);
|
||||
}
|
||||
//if (_from == "list")
|
||||
//{
|
||||
// transform.Find("Masking").GetComponent<CanvasGroup>().DOFade(0, 0.3f);
|
||||
//}
|
||||
}
|
||||
|
||||
public void OnPointerEnter(PointerEventData eventData)
|
||||
{
|
||||
if (_from == "list")
|
||||
{
|
||||
transform.Find("Masking").GetComponent<CanvasGroup>().DOFade(1, 0.3f);
|
||||
}
|
||||
//if (_from == "list")
|
||||
//{
|
||||
// transform.Find("Masking").GetComponent<CanvasGroup>().DOFade(1, 0.3f);
|
||||
//}
|
||||
}
|
||||
|
||||
public void OnPointerUp(PointerEventData eventData)
|
||||
|
||||
Reference in new issue
Block a user