From 58077589b7b93f06adf7c38dda9de7798d35b04b Mon Sep 17 00:00:00 2001 From: "DESKTOP-KFV16CV\\cyt" <2268162076@qq.com> Date: Sat, 26 Sep 2020 15:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=8C=96=E5=B7=A5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CommandCenter/PowerTransferController.cs | 10 ++- .../Common/GameSettings/GameSettings.cs | 3 + .../Common/Lobby/GET_LOBBY_ROOMLIST_SYNC.cs | 11 ++- Assets/Scripts/Common/Menu/Menu.cs | 79 ++++++++++++++++--- 4 files changed, 88 insertions(+), 15 deletions(-) diff --git a/Assets/Scripts/Common/CommandCenter/PowerTransferController.cs b/Assets/Scripts/Common/CommandCenter/PowerTransferController.cs index 43749d4..737e354 100644 --- a/Assets/Scripts/Common/CommandCenter/PowerTransferController.cs +++ b/Assets/Scripts/Common/CommandCenter/PowerTransferController.cs @@ -279,6 +279,7 @@ public class PowerTransferController : MonoBehaviour } } } + StartCoroutine(WaitBtnEnable()); } if (GameSettings.othersSettings.mode == Mode.Practice) @@ -372,8 +373,15 @@ public class PowerTransferController : MonoBehaviour //发送给房间内各个客服端调派车辆数据,作战部署力量列表用 NetworkManager.Default.SendAsync("FIREDEPLOY_ENGINES_SYNC", new KeyValuePair>>(NowSelectUser.Org.DisplayName, powers)); + StartCoroutine(WaitBtnEnable()); + } + IEnumerator WaitBtnEnable() + { + SureBtn.GetComponent