赛事界面&骑行界面调整
This commit is contained in:
1 parent
3fb8aee922
commit
7af935118e
50 files changed
+20950
-426
No files matched your search
@@ -28,10 +28,15 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
currentlatlong = mainController.GetCenterCoordinate();
|
||||
_playerController = FindObjectOfType<PlayerController>();
|
||||
//创建UI
|
||||
uiObject = transform.parent.Find("UI/Panel/ArrowList");
|
||||
var uipanel = mainController.GetUIPanel();
|
||||
uiObject = uipanel.transform.Find("ArrowList");
|
||||
if (mainController.cyclingController.Mode == CyclingModel.Competition)
|
||||
{
|
||||
#if UNITY_IOS || UNITY_ANDROID
|
||||
arrowImage = Instantiate(Resources.Load<Image>("UI/Prefab/Match/Mobile/CompetitionArrow"), uiObject);
|
||||
#else
|
||||
arrowImage = Instantiate(Resources.Load<Image>("UI/Prefab/Match/CompetitionArrow"), uiObject);
|
||||
#endif
|
||||
//比赛模式
|
||||
if (!string.IsNullOrEmpty(headUrl))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user