瀏覽代碼

错误代码

lvjincheng 4 年之前
父節點
當前提交
093889ea11
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      Assets/BowArrow/Scripts/Bluetooth/ShootCheck.cs

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

@@ -115,14 +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();