登录bug&影子选手bug修复
This commit is contained in:
1 parent
92676d7cf8
commit
696fd256a8
9 files changed
+2200
-2173
No files matched your search
@@ -39,14 +39,10 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
#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);
|
||||
distance = mainController.UpdateDistance(speed);
|
||||
totalDistance += distance;
|
||||
|
||||
//preDistance EndDistance
|
||||
|
||||
if (!stopRecord)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user