|
|
@@ -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;
|
|
|
}
|