单点登录不在进程内运行问题;gps取定位服务的;点击图标显示毫秒

This commit is contained in:
Caiyanpeng committed 2021-11-18 14:45:31 +08:00
1 parent 42e23e2f84
commit 5ba176725f
19 files changed
+1738 -1392

No files matched your search

+5 -2
View File
@@ -102,7 +102,7 @@ namespace Assets.Scripts.UI.Control
break;
}
}
public bool showTooltip { get; set; }
private void BindEvent()
{
//鼠标进入
@@ -113,11 +113,14 @@ namespace Assets.Scripts.UI.Control
#if !(UNITY_ANDROID || UNITY_IOS)
if (!string.IsNullOrWhiteSpace(Tooltips))
{
#else
if (!string.IsNullOrWhiteSpace(Tooltips) && showTooltip)
{
#endif
tooltips.GetComponent<CanvasGroup>().alpha = 0f;
tooltips.SetActive(true);
tooltips.GetComponent<CanvasGroup>().DOFade(1f, 0.2f);
}
#endif
switch (mType)
{
case Type.Normal:
+3 -2
View File
@@ -1,4 +1,5 @@
using System;
using Assets.Scripts.UI.Control;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
@@ -33,7 +34,7 @@ public class MainNav : MonoBehaviour
exit = this.transform.Find("Exit").gameObject;
exit.SetActive(false);
transform.Find("Delay").GetComponent<PfUIButton>().showTooltip = true;
UIManager.AddEvent(exit, EventTriggerType.PointerClick, (e) =>
{
UIManager.ShowConfirm("Quit", "Do you want to quit PowerFun?", ()=> {
@@ -21,7 +21,11 @@ public class MapListController : PFUIPanel
[SerializeField] GameObject content;
[SerializeField] GameObject scroll;
[HideInInspector] public int pageIndex = 0;
#if UNITY_ANDROID || UNITY_IOS
[HideInInspector] public int pageSize = 21;
#else
[HideInInspector] public int pageSize = 20;
#endif
[HideInInspector] public string hard = "全部";
private Transform distanceOptions;
private Transform diffOptions;