骑行loading页面bug修复&线路集合图片异步加载

This commit is contained in:
lishuo committed 2021-12-17 11:10:17 +08:00
1 parent 6c0d9f5dec
commit 7616e09a40
5 files changed
+31 -20

No files matched your search

+4 -1
View File
@@ -404,7 +404,10 @@ public class MainController : BaseScene
var tempRecordData = Newtonsoft.Json.JsonConvert.DeserializeObject<TempRecordData>(content);
App.tempRecordData = tempRecordData;
UIManager.ShowConfirm(App.GetLocalString("Reconnect"), App.GetLocalString("Did you want to reconnect the trip that was interrupted abnormally?"), () => { SceneManager.LoadScene("Ride"); });
UIManager.ShowConfirm(App.GetLocalString("Reconnect"), App.GetLocalString("Did you want to reconnect the trip that was interrupted abnormally?"), () => { SceneManager.LoadScene("Ride"); },2,()=> {
Helper.DelectDir(PFConstants.MapWorkoutRecordTempFolder);
App.tempRecordData = null;
});
}
}
}
@@ -66,7 +66,7 @@ namespace Assets.Scenes.Ride.Scripts
}
if (canvasGroup.alpha == 0)
{
StartGame();
//StartGame();
transform.gameObject.SetActive(false);
}
}
@@ -195,6 +195,8 @@ namespace Assets.Scenes.Ride.Scripts
canvasGroup.blocksRaycasts = false;
depressFlag = true;
slider.DOValue(process, 1);
StartGame();
}
protected virtual void Cancel(BaseEventData baseEvent)
{