修改细节
This commit is contained in:
1 parent
79849bd537
commit
e87429d528
13 files changed
+1308
-1234
No files matched your search
@@ -196,7 +196,10 @@ public class MapItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler,
|
||||
//SetActive4Button(false);
|
||||
SetColor(false);
|
||||
#else
|
||||
transform.Find("Shadow").GetComponent<Image>().DOFade(0, 0.3f);
|
||||
if (!isModal)
|
||||
{
|
||||
transform.Find("Shadow").GetComponent<Image>().DOFade(0, 0.3f);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
public void OnPointerEnter(PointerEventData eventData)
|
||||
@@ -213,7 +216,10 @@ public class MapItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler,
|
||||
//SetActive4Button(true);
|
||||
SetColor(true);
|
||||
#else
|
||||
transform.Find("Shadow").GetComponent<Image>().DOFade(1, 0.3f);
|
||||
if (!isModal)
|
||||
{
|
||||
transform.Find("Shadow").GetComponent<Image>().DOFade(1, 0.3f);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
void SetActive4Button(bool b)
|
||||
|
||||
@@ -299,7 +299,7 @@ public class HomeController : PFUIPanel
|
||||
else if (maxdataTime < 0)
|
||||
{
|
||||
DORotateMaxData();
|
||||
maxdataTime += 3;
|
||||
maxdataTime += 10f;
|
||||
}
|
||||
}
|
||||
private async void GetMaxRanking()
|
||||
@@ -308,7 +308,7 @@ public class HomeController : PFUIPanel
|
||||
if (res.result)
|
||||
{
|
||||
maxList = res.data;
|
||||
if (maxList.Count >= 3)
|
||||
if (maxList.Count >= 3)
|
||||
{
|
||||
maxdataTime = 3;
|
||||
maxdataIndex = 0;
|
||||
@@ -323,7 +323,10 @@ public class HomeController : PFUIPanel
|
||||
//d.Find("NickName").GetComponent<Text>().text = list[0].NickName;
|
||||
//c.Find("NickName").GetComponent<Text>().text = list[2].NickName;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
transform.Find("MaxRankingData").gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -298,7 +298,7 @@ public class MapListController : PFUIPanel
|
||||
public void OpenFilter(bool isFocusSearch = true)
|
||||
{
|
||||
#if UNITY_ANDROID || UNITY_IOS
|
||||
topContainer.Find("Return").gameObject.SetActive(true);
|
||||
transform.Find("Top/Return").gameObject.SetActive(true);
|
||||
var topRect = transform.Find("Top").GetComponent<RectTransform>();
|
||||
if (!App.topRectStartX.HasValue)
|
||||
{
|
||||
|
||||
@@ -76,7 +76,7 @@ public class RaceHomeScript : RaceScript
|
||||
#else
|
||||
btnGoList = rightContainer.Find("BtnGoList");
|
||||
var nav = transform.Find("Tmp/MainNav-mobile").GetComponent<NewMainNav>();
|
||||
nav.SetButtonActive(new List<int> { 0, 3, 4, 6, 7 }, 0,
|
||||
nav.SetButtonActive(new List<int> { 2, 3, 4, 6, 7 }, 2,
|
||||
custom: new NewMainNav.CustomButton(Resources.Load<Sprite>("Images/Race/back down"), () =>
|
||||
{
|
||||
//OpenFilter();
|
||||
|
||||
Reference in new issue
Block a user