Ver Fonte

去除成功tip

slambb há 1 ano atrás
pai
commit
6a4d976770
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      Assets/BowArrow/Scripts/Bluetooth/DevicesHolder.cs

+ 2 - 1
Assets/BowArrow/Scripts/Bluetooth/DevicesHolder.cs

@@ -50,7 +50,8 @@ public class DevicesHolder : MonoBehaviour
     public void SwitchDeviceByType(AimDeviceType deviceType) {
     public void SwitchDeviceByType(AimDeviceType deviceType) {
         bConnected = true;
         bConnected = true;
         //切换后算连接成功
         //切换后算连接成功
-        PopupMgr.ins.ShowTip(TextAutoLanguage2.GetTextByKey("BConnectTipSuccess"));
+        PopupMgr.ins.ClearAllTip();
+        //PopupMgr.ins.ShowTip(TextAutoLanguage2.GetTextByKey("BConnectTipSuccess"));
         //1.默认选择第一个玩家(这里沿用了之前的设置信息代码,和蓝牙无关)
         //1.默认选择第一个玩家(这里沿用了之前的设置信息代码,和蓝牙无关)
         BluetoothAim.ins.setBLEPlayer(BluetoothPlayer.FIRST_PLAYER);
         BluetoothAim.ins.setBLEPlayer(BluetoothPlayer.FIRST_PLAYER);
         Debug.Log("[DevicesHolder]当前选择的操作用户:" + BluetoothAim.ins.getBLEPlayer());
         Debug.Log("[DevicesHolder]当前选择的操作用户:" + BluetoothAim.ins.getBLEPlayer());