diff --git a/xiaofang/Assets/ProtoBuf/test.cs b/xiaofang/Assets/ProtoBuf/test.cs index 91fd08aa..3bb79484 100644 --- a/xiaofang/Assets/ProtoBuf/test.cs +++ b/xiaofang/Assets/ProtoBuf/test.cs @@ -908,8 +908,12 @@ string HandleButtoncallId=11;// } if (userJoinResponse.MessageType == 12)//玩家准备 { - Debug.Log("服务器给准备好消息"); - GameObject.Find("HostCanvas").GetComponent().isSatisfy=true; + if (userJoinResponse.IsAllReady) + { + Debug.Log("服务器给准备好消息"); + GameObject.Find("HostCanvas").GetComponent().isSatisfy = true; + } + } break; diff --git a/xiaofang/Assets/Script/Scheduled_03/Panel.cs b/xiaofang/Assets/Script/Scheduled_03/Panel.cs index 4ecab160..42db7fab 100644 --- a/xiaofang/Assets/Script/Scheduled_03/Panel.cs +++ b/xiaofang/Assets/Script/Scheduled_03/Panel.cs @@ -101,7 +101,7 @@ public class Panel : Base public SelectScenePanel selectScenePanel; public DatePanel datePanel; public WarningPopPanel warningPopPanel; - public RequirementPanel requirementPanel; + //public RequirementPanel requirementPanel; private bool isPersonSelected = false; // 标志是否选择了人员 private bool isDutySelected = false; // 标志是否选择了职责 @@ -908,7 +908,7 @@ public class Panel : Base public void OnclickRequirementsBtn() { requirementsPrefab.gameObject.SetActive(true); - requirementPanel.LoadingSceneLable(); + //requirementPanel.LoadingSceneLable(); } }