不给功率;修改比赛卡片有海拔图的异常问题
This commit is contained in:
parent
353c19662c
commit
7e67184248
@ -1551,7 +1551,7 @@ GameObject:
|
|||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &5521075338908913119
|
--- !u!224 &5521075338908913119
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
@ -822,9 +822,9 @@ public BaseUIManager singleUIManager;
|
|||||||
Camera.main.transform.DOLocalMove(neareast, 1f);
|
Camera.main.transform.DOLocalMove(neareast, 1f);
|
||||||
//StartCoroutine(MoveCamera(far, near));//初始摄像头
|
//StartCoroutine(MoveCamera(far, near));//初始摄像头
|
||||||
var check = CheckAnt();
|
var check = CheckAnt();
|
||||||
//#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
check = true;
|
check = true;
|
||||||
//#endif
|
#endif
|
||||||
if (check || isWatch)
|
if (check || isWatch)
|
||||||
{
|
{
|
||||||
singleUIManager.StartRide();
|
singleUIManager.StartRide();
|
||||||
|
|||||||
@ -60,9 +60,9 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
cadance = mainController.UpdateCadence();
|
cadance = mainController.UpdateCadence();
|
||||||
weight = App.CurrentUser.Weight;
|
weight = App.CurrentUser.Weight;
|
||||||
bicycleWeight = App.CurrentUser.BicycleWeight;
|
bicycleWeight = App.CurrentUser.BicycleWeight;
|
||||||
//#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
power = 300;
|
power = 300;
|
||||||
//#endif
|
#endif
|
||||||
mainController.TrackResistance(currentSlope * App.RideSetting.Sensitivity / 100);
|
mainController.TrackResistance(currentSlope * App.RideSetting.Sensitivity / 100);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user