修改细节

This commit is contained in:
Caiyanpeng committed 2021-12-29 14:23:37 +08:00
1 parent b3f6bb6861
commit bac3334a01
44 files changed
+7061 -2427

No files matched your search

@@ -75,6 +75,14 @@ public class RaceHomeScript : RaceScript
btnGoList = rightContainer.Find("Container-2/BtnGoList");
#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,
custom: new NewMainNav.CustomButton(Resources.Load<Sprite>("Images/Race/back down"), () =>
{
//OpenFilter();
UIManager.ShowRaceListPanel();
}));
newNav = nav;
#endif
if (btnGoList != null)
{
@@ -245,6 +245,18 @@ public class RaceListScript : RaceScript
mc.gameObject.SetActive(false);
};
});
var nav = transform.Find("Tmp/MainNav-mobile").GetComponent<NewMainNav>();
nav.SetButtonActive(new List<int> { 0, 3, 4, 6, 7 }, 0,
custom: new NewMainNav.CustomButton(Resources.Load<Sprite>("Images/Mobile/map_筛选"), () =>
{
//OpenFilter();
conditions.DOLocalMoveX(App.topRectStartX.Value + topRect.rect.width, 0.3f);
mc.gameObject.SetActive(true);
mc.GetComponent<CanvasGroup>().alpha = 0;
mc.GetComponent<CanvasGroup>().DOFade(1, 0.3f);
}));
newNav = nav;
#else
#endif
}