android端发布前微调
This commit is contained in:
1 parent
d38330d969
commit
bd9696cd81
34 files changed
+859
-934
No files matched your search
@@ -72,7 +72,7 @@ public class BigMapController : PFUIPanel
|
||||
StartCoroutine("Main");
|
||||
#if UNITY_ANDROID || UNITY_IOS
|
||||
var nav = transform.Find("Canvas/Tmp/MainNav-mobile").GetComponent<NewMainNav>();
|
||||
nav.SetButtonActive(new List<int> { 2, 3, 4, 6, 7 }, 2,
|
||||
nav.SetButtonActive(new List<int> { 2, 3, 6, 7 }, 2,
|
||||
custom: new NewMainNav.CustomButton(Resources.Load<Sprite>("Images/搜索"), () =>
|
||||
{
|
||||
mapManager.Destroy();
|
||||
|
||||
@@ -71,7 +71,7 @@ public class EarthController : PFUIPanel
|
||||
#if UNITY_ANDROID || UNITY_IOS
|
||||
SetRounded(panel.transform, 20);
|
||||
var nav = transform.Find("Canvas/Panel/Tmp/MainNav-mobile").GetComponent<NewMainNav>();
|
||||
nav.SetButtonActive(new List<int> { 2, 3, 4, 6, 7 }, 2,
|
||||
nav.SetButtonActive(new List<int> { 2, 3, 6, 7 }, 2,
|
||||
custom: new NewMainNav.CustomButton(Resources.Load<Sprite>("Images/搜索"), () =>
|
||||
{
|
||||
UIManager.ShowNewRouteOverviewPanel();
|
||||
|
||||
@@ -46,6 +46,7 @@ public class HomeController : PFUIPanel
|
||||
{
|
||||
UIManager.ShowRowerSelector();
|
||||
},false));
|
||||
nav.HideButton("Custom");
|
||||
newNav = nav;
|
||||
UIManager.AddEvent(transform.Find("TodayData/Datas/Distance").gameObject, EventTriggerType.PointerClick, b =>
|
||||
{
|
||||
|
||||
@@ -103,7 +103,7 @@ public class MapListController : PFUIPanel
|
||||
map = Resources.Load<GameObject>("UI/Prefab/MapList/MapItem-Mobile");
|
||||
Debug.Log(98);
|
||||
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> { 0, 3, 6, 7 }, 0,
|
||||
new NewMainNav.CustomButton(Resources.Load<Sprite>("Images/Mobile/map_筛选"), () =>
|
||||
{
|
||||
OpenFilter(false);
|
||||
@@ -585,4 +585,8 @@ public class MapListController : PFUIPanel
|
||||
GC.Collect();
|
||||
Debug.Log("list empty");
|
||||
}
|
||||
protected override void OnDisable()
|
||||
{
|
||||
App.CurrentRouteType = "";
|
||||
}
|
||||
}
|
||||
@@ -87,7 +87,7 @@ public class NewRouteDetailController : PFUIPanel
|
||||
});
|
||||
#if UNITY_ANDROID || UNITY_IOS
|
||||
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> { 0, 3, 6, 7 }, 0);
|
||||
newNav = nav;
|
||||
|
||||
#else
|
||||
|
||||
@@ -67,7 +67,7 @@ public class NewRouteOverviewController: PFUIPanel
|
||||
tmpItem = Resources.Load<Transform>("UI/Prefab/NewRoute/RouteItem");
|
||||
#else
|
||||
var nav = transform.Find("Tmp/MainNav-mobile").GetComponent<NewMainNav>();
|
||||
nav.SetButtonActive(new List<int> { 2, 3, 4, 6, 7 }, 2,
|
||||
nav.SetButtonActive(new List<int> { 2, 3, 6, 7 }, 2,
|
||||
new NewMainNav.CustomButton(Resources.Load<Sprite>("Images/map_mode"),()=>
|
||||
{
|
||||
UIManager.PopStack();
|
||||
|
||||
Reference in new issue
Block a user