slambb пре 1 недеља
родитељ
комит
502ba66167

BIN
Assets/AddressableAssetsData/Android/addressables_content_state.bin


+ 5 - 5
Assets/BowArrow/Scripts/Bluetooth/BluetoothAim.cs

@@ -1839,23 +1839,23 @@ public class BluetoothAim : MonoBehaviour
                 Log("1P设备类型:" + firstPlayerType);
                 if (firstPlayerType == (int)AimDeviceType.HOUYIPRO)
                 {   //需要判断是否是红外弓箭
-                    ToRegex(targetDeviceNameHOUYIPro);
+                    regex = ToRegex(targetDeviceNameHOUYIPro);
                 }
                 else if (firstPlayerType == (int)AimDeviceType.ARTEMISPRO)
                 {   //需要判断是否是ARTEMISPro弓箭
-                    ToRegex(targetDeviceNameARTEMISPro);
+                    regex = ToRegex(targetDeviceNameARTEMISPro);
                 }
                 else if (firstPlayerType == (int)AimDeviceType.Gun)
                 {
-                    ToRegex(targetDeviceNameGun);
+                    regex = ToRegex(targetDeviceNameGun);
                 }
                 else if (firstPlayerType == (int)AimDeviceType.PistolM17)
                 {
-                    ToRegex(targetDeviceNameGun_M17);
+                    regex = ToRegex(targetDeviceNameGun_M17);
                 }
                 else if (firstPlayerType == (int)AimDeviceType.RifleM416)
                 {
-                    ToRegex(targetDeviceNameGun_M416);
+                    regex = ToRegex(targetDeviceNameGun_M416);
                 }
                 SmartBowLogger.Log(this, $"CMD StartScan:{regex}");
                 cmdManager.StartScan(regex);