移除xcharts和细节调整

This commit is contained in:
lishuo committed 2021-04-28 15:37:18 +08:00
1 parent b71a15e2ba
commit 6d45d052a0
511 files changed
+5342 -1941568

No files matched your search

@@ -32,10 +32,10 @@ namespace Assets.Scenes.Ride.Scripts
cadance = mainController.UpdateCadence();
weight = App.CurrentUser.Weight;
bicycleWeight = App.CurrentUser.BicycleWeight;
//#if UNITY_EDITOR
power = 300;//测试功率
//#endif
mainController.TrackResistance(currentSlope);//TODO
#if UNITY_EDITOR
power = 2000;//测试功率
#endif
mainController.TrackResistance(currentSlope * App.rideSetting.sensitivity);
speed = Helper.CalculateSpeed(elevation, currentSlope, power, weight, bicycleWeight);
distance = mainController.UpdateDistance(speed);
totalDistance += distance;