不给功率;修改比赛卡片有海拔图的异常问题

This commit is contained in:
Caiyanpeng committed 2022-02-24 11:35:26 +08:00
1 parent 353c19662c
commit 7e67184248
3 files changed
+5 -5

No files matched your search

@@ -1551,7 +1551,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &5521075338908913119
RectTransform:
m_ObjectHideFlags: 0
@@ -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
#if UNITY_EDITOR
power = 300;
//#endif
#endif
mainController.TrackResistance(currentSlope * App.RideSetting.Sensitivity / 100);
}
catch (Exception ex)