移动动效和界面调整
This commit is contained in:
1 parent
11fdcff7c3
commit
9ac7c86ca6
12 files changed
+4926
-3498
No files matched your search
@@ -66,7 +66,13 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
public void DrawMapRoute(MapDataModel mapData)
|
||||
{
|
||||
var url = Helper.GetMapboxApiUrl(mapData.List);
|
||||
Utils.DisplayImage(StartCoroutine, mapRouteImage, url);
|
||||
Utils.DisplayImageAysnc(StartCoroutine, mapRouteImage, url, dowloadCallBack);
|
||||
mapRouteImage.gameObject.SetActive(false);
|
||||
}
|
||||
private void dowloadCallBack()
|
||||
{
|
||||
mapRouteImage.gameObject.SetActive(true);
|
||||
this.AddProcess(10);
|
||||
}
|
||||
//设定当前loading进度
|
||||
public void AddProcess(float v)
|
||||
|
||||
Reference in new issue
Block a user