lvjincheng 4 роки тому
батько
коміт
8e882323a4
1 змінених файлів з 1 додано та 3 видалено
  1. 1 3
      Assets/BowArrow/Scripts/Bluetooth/BluetoothShoot.cs

+ 1 - 3
Assets/BowArrow/Scripts/Bluetooth/BluetoothShoot.cs

@@ -4,7 +4,6 @@ using UnityEngine;
 using UnityEngine.UI;
 using ArduinoBluetoothAPI;
 using DG.Tweening;
-using System.Text;
 
 public class BluetoothShoot : MonoBehaviour
 {
@@ -90,8 +89,7 @@ public class BluetoothShoot : MonoBehaviour
                 if(bFirstIn)
                 {
                     bFirstIn = false;
-                    string s = Encoding.ASCII.GetString(bytes);
-                    Debug.Log("value======="+s);
+                    Log(String.Join(",", bytes));
                     return;
                 }