细节调整
线路材质&位置调整,海拔图区间优化,loading动画只执行一次问题解决,小地图的球替换成圆形图片
This commit is contained in:
1 parent
e29381b13b
commit
eb70ee4397
13 files changed
+3306
-3076
No files matched your search
@@ -49,7 +49,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
CyclingController cyclingController;
|
||||
private void Start()
|
||||
{
|
||||
|
||||
App.TextureCache.Clear();
|
||||
loadingPanel = transform.Find("Panel/LoadingPanel").gameObject;
|
||||
loadingPanel.showLoadingExtension();
|
||||
//InitGameObject();
|
||||
@@ -220,10 +220,9 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
mapCountry.texture = cyclingController.GetCountryImageByName(userList[0].Country);//路书国家
|
||||
|
||||
Utils.DisplayImage(altitudeGraph, route.AltitudeGraph);//海拔图
|
||||
loadingPanel.SetActive(false);
|
||||
}
|
||||
#endregion
|
||||
|
||||
StartCoroutine(HiddenLoading());
|
||||
#region 地图注册 排行榜等接口
|
||||
_map.OnInitialized += _map_OnInitialized;
|
||||
_map.OnEditorPreviewEnabled += OnEditorPreviewEnabled;
|
||||
@@ -231,7 +230,11 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
IEnumerator HiddenLoading()
|
||||
{
|
||||
yield return new WaitForSeconds(1f);
|
||||
loadingPanel.SetActive(false);
|
||||
}
|
||||
void _map_OnInitialized()
|
||||
{
|
||||
var visualizer = _map.MapVisualizer;
|
||||
|
||||
Reference in new issue
Block a user