lvjincheng před 3 roky
rodič
revize
51820c94b2
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      Assets/BowArrow/Scripts/View/HomeView.cs

+ 2 - 2
Assets/BowArrow/Scripts/View/HomeView.cs

@@ -101,14 +101,14 @@ public class HomeView : MonoBehaviour
         switch (target)
         {
             case "开始游戏":
-                if (!BluetoothStatus.IsAllConnected()) {
+                if (CommonConfig.isReleaseVersion && !BluetoothStatus.IsAllConnected()) {
                     PopupMgr.ins.ShowTip("请先连接设备");
                     return;
                 }
                 GameObject.Instantiate(GameObject.Find("WindowViews").transform.Find("GameStartView").gameObject).SetActive(true);
                 break;
             case "联机游戏":
-                if (!BluetoothStatus.IsAllConnected()) {
+                if (CommonConfig.isReleaseVersion && !BluetoothStatus.IsAllConnected()) {
                     PopupMgr.ins.ShowTip("请先连接设备");
                     return;
                 }