Ver código fonte

错误代码

lvjincheng 4 anos atrás
pai
commit
093889ea11
1 arquivos alterados com 0 adições e 8 exclusões
  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();