0107修改
This commit is contained in:
1 parent
e5067228b2
commit
7431228d2f
10 files changed
+367
-63
No files matched your search
@@ -83,7 +83,7 @@ public class MainController : BaseScene
|
||||
msg3.transform.localPosition = 1 * msgLocation;
|
||||
msg3.transform.localScale = Vector3.one;
|
||||
msg3.alpha = 0;
|
||||
msgs = List<CanvasGroup> { msg, msg2, msg3 };
|
||||
msgs = new List<CanvasGroup> { msg, msg2, msg3 };
|
||||
rightMessage = transform.Find("GameObject/MessageRight").GetComponent<CanvasGroup>();
|
||||
#else
|
||||
msgLocation = new Vector3(168, 37-46, 0);
|
||||
|
||||
@@ -191,9 +191,9 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
var myselfItemScript = myselfObj.GetComponent<RankingItemScript>();
|
||||
if (myself == null)
|
||||
{
|
||||
myselfItemScript.SetRanking("??");
|
||||
myselfItemScript.SetRanking("--");
|
||||
myselfItemScript.SetName(App.CurrentUser.Nickname);
|
||||
myselfItemScript.SetTimer("??:??:??");
|
||||
myselfItemScript.SetTimer("--:--:--");
|
||||
myselfItemScript.SetHead(App.CurrentUser.WxHeadImg);
|
||||
var texture = cyclingController.GetCountryImageByCode(App.CurrentUser.Country);
|
||||
myselfItemScript.SetCountry(texture);
|
||||
|
||||
@@ -91,6 +91,15 @@ public class MapListController : PFUIPanel
|
||||
{
|
||||
CloseFilter();
|
||||
});
|
||||
UIManager.AddEvent(transform.Find("Upload").gameObject, EventTriggerType.PointerClick, b =>
|
||||
{
|
||||
UIManager.ShowConfirm(App.GetLocalLanguage()=="zh"?"上传线路":"Upload Route",
|
||||
App.GetLocalLanguage() == "zh"? @"复制www.powerfun.com至电脑端登录后点击""上传活动""按钮上传你的.fit或者.gpx文件": @"Copy www.powerfun.com to the computer and log in and click the ""Upload Activity"" button to upload your .fit or .gpx file", () =>
|
||||
{
|
||||
UnityEngine.GUIUtility.systemCopyBuffer = "http://www.powerfun.com";
|
||||
UIManager.CloseConfirm();
|
||||
});
|
||||
});
|
||||
map = Resources.Load<GameObject>("UI/Prefab/MapList/MapItem-Mobile");
|
||||
Debug.Log(98);
|
||||
var nav = transform.Find("Tmp/MainNav-mobile").GetComponent<NewMainNav>();
|
||||
@@ -499,6 +508,8 @@ public class MapListController : PFUIPanel
|
||||
}
|
||||
#if UNITY_STANDALONE_WIN
|
||||
btnMapMode.SetActive(App.CurrentRouteType == "My Upload");
|
||||
#else
|
||||
transform.Find("Upload").gameObject.SetActive(App.CurrentRouteType == "My Upload");
|
||||
#endif
|
||||
topContainer.Find("FavContainer").gameObject.SetActive(App.CurrentRouteType != "My Collection");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user