切换移动端暂存
This commit is contained in:
1 parent
11e9acdb14
commit
35b5ab59d3
15 files changed
+201
-46
No files matched your search
@@ -175,9 +175,9 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
protected virtual void StartRide(BaseEventData baseEvent)
|
||||
{
|
||||
var checkAnt = cyclingController.CheckAnt();
|
||||
#if UNITY_EDITOR
|
||||
//#if UNITY_EDITOR
|
||||
checkAnt = true;
|
||||
#endif
|
||||
//#endif
|
||||
if (!checkAnt && !cyclingController.isWatch)
|
||||
{
|
||||
var alert = (GameObject)Instantiate(Resources.Load("UI/Prefab/Ride/Alert"), panel.transform);
|
||||
|
||||
@@ -55,9 +55,9 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
cadance = mainController.UpdateCadence();
|
||||
weight = App.CurrentUser.Weight;
|
||||
bicycleWeight = App.CurrentUser.BicycleWeight;
|
||||
#if UNITY_EDITOR
|
||||
//#if UNITY_EDITOR
|
||||
power = 500;
|
||||
#endif
|
||||
//#endif
|
||||
mainController.TrackResistance(currentSlope * App.RideSetting.Sensitivity / 100);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in new issue
Block a user