lvjincheng 4 лет назад
Родитель
Сommit
e06e59a987

+ 0 - 6
Assets/BowArrow/Scripts/Bluetooth/ShootCheck.cs

@@ -115,12 +115,6 @@ public class ShootCheck : MonoBehaviour
     }
     public void OnBluetoothReady(BluetoothShoot bluetoothShoot) 
     {
-        if (LoginMgr.myUserInfo.arrowAccValue == 16) {
-            cmd.a = "y";
-        }
-        else{
-            cmd.a = "x";
-        }
         bluetoothShoot.WriteData(JsonUtility.ToJson(cmd).Replace("\"", ""));
 
         Sequence sequence = DOTween.Sequence();

+ 1 - 1
Assets/BowArrow/Scripts/View/DeviceReconnectView.cs

@@ -38,7 +38,7 @@ public class DeviceReconnectView : MonoBehaviour
         RenderDeviceNames();
         GameMgr.ins.addLockerForGamePause(this);
 
-        this.Close();
+        this.Close(); 
     }
 
     void OnDestroy()