Loading页面渐隐

This commit is contained in:
lishuo committed 2021-04-16 11:23:18 +08:00
1 parent 10c82703f4
commit 018699c944
8 files changed
+3778 -3473

No files matched your search

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