ant+和http组件bug修复

This commit is contained in:
lishuo committed 2021-04-30 17:25:28 +08:00
1 parent f7b33bf491
commit 48c5b161b1
29 files changed
+3526 -2755

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 = 2000;//测试功率
//#endif
Debug.Log(currentSlope.ToString() + "==" + App.rideSetting.sensitivity.ToString());
#if UNITY_EDITOR
//power = 2000;//测试功率
#endif
Debug.Log(currentSlope.ToString() + "==" + App.rideSetting.sensitivity.ToString());
//mainController.CheckAnt();
mainController.TrackResistance(currentSlope * App.rideSetting.sensitivity/100);
speed = Helper.CalculateSpeed(elevation, currentSlope, power, weight, bicycleWeight);