修改细节,开始搞pc
This commit is contained in:
1 parent
365fab22d4
commit
2c7d02ec9a
12 files changed
+2859
-254
No files matched your search
@@ -809,9 +809,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)
|
||||
|
||||
Reference in new issue
Block a user