蓝牙调用调整
This commit is contained in:
1 parent
5671b35dce
commit
17eaccb72e
7 files changed
+111
-43
No files matched your search
@@ -56,12 +56,13 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
bicycleWeight = App.CurrentUser.BicycleWeight;
|
||||
//#if UNITY_EDITOR
|
||||
System.Random rd = new System.Random();
|
||||
power = 1000; //rd.Next(150, 300);//测试功率
|
||||
//power = 1000; //rd.Next(150, 300);//测试功率
|
||||
//#endif
|
||||
mainController.TrackResistance(currentSlope * App.rideSetting.sensitivity / 100);
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.Log(ex.Message);
|
||||
heartRate = 0;
|
||||
power = 0;
|
||||
cadance = 0;
|
||||
|
||||
Reference in new issue
Block a user