Merge remote-tracking branch 'origin/dev_cyp' into dev_lishuo

This commit is contained in:
lishuo committed 2022-02-23 11:31:23 +08:00
commit 6a0bd67a6e
20 files changed
+3005 -290

No files matched your search

@@ -822,9 +822,9 @@ public BaseUIManager singleUIManager;
Camera.main.transform.DOLocalMove(neareast, 1f);
//StartCoroutine(MoveCamera(far, near));//初始摄像头
var check = CheckAnt();
#if UNITY_EDITOR
//#if UNITY_EDITOR
check = true;
#endif
//#endif
if (check || isWatch)
{
singleUIManager.StartRide();
@@ -60,9 +60,9 @@ namespace Assets.Scenes.Ride.Scripts
cadance = mainController.UpdateCadence();
weight = App.CurrentUser.Weight;
bicycleWeight = App.CurrentUser.BicycleWeight;
#if UNITY_EDITOR
power = 330;
#endif
//#if UNITY_EDITOR
power = 300;
//#endif
mainController.TrackResistance(currentSlope * App.RideSetting.Sensitivity / 100);
}
catch (Exception ex)