lvjincheng hace 3 años
padre
commit
b4a8c482c0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Assets/BowArrow/Scripts/Bluetooth/BluetoothAim.cs

+ 2 - 0
Assets/BowArrow/Scripts/Bluetooth/BluetoothAim.cs

@@ -189,12 +189,14 @@ public class BluetoothAim : MonoBehaviour
                         }
                     }
                 }
+                logger.Log("服务匹配结束");
                 // CallDelay(1, OpenInfrared);
                 // CallDelay(2, OpenReceiveData);
                 // CallDelay(3, RequestBattery);
                 CallDelay(2, () =>
                 {
                     if (status != BluetoothStatusEnum.ConnectSuccess) return;
+                    logger.Log("初始化自动发送CMD");
                     InitWhenConenct();
                 });
             };