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