新版骑行页面前备份

This commit is contained in:
lishuo committed 2021-04-21 14:08:45 +08:00
1 parent 4896fab824
commit e7ad9473a5
85 files changed
+6816 -5424

No files matched your search

@@ -14,8 +14,8 @@ namespace Assets.Scenes.Ride.Scripts
totalDistance = mainController.selectParamModel.EndDistance;
currentlatlong = mainController.GetCenterCoordinate();
TrailRenderer trail = FindObjectOfType<TrailRenderer>();
trail.startWidth = 0.6f;
trail.endWidth = 0.6f;
trail.startWidth = 1f;
trail.endWidth = 1f;
trail.startColor = new Color(0.9764706f, 0.1882353f, 0.5254902f, 0.65f);
trail.endColor = new Color(0.9764706f, 0.1882353f, 0.5254902f, 0.65f);
}
@@ -34,7 +34,7 @@ namespace Assets.Scenes.Ride.Scripts
bicycleWeight = App.CurrentUser.BicycleWeight;
#if UNITY_EDITOR
power = 2000;//测试功率
power = Random.Range(1,2000);//测试功率
#endif
mainController.TrackResistance(currentSlope);//TODO
speed = Helper.CalculateSpeed(elevation, currentSlope, power, weight, bicycleWeight);