登录测试

This commit is contained in:
杨号敬 2025-01-03 09:56:34 +08:00
parent 363fb21f65
commit 0a26fc25b1
2 changed files with 8 additions and 4 deletions

View File

@ -908,8 +908,12 @@ string HandleButtoncallId=11;//
} }
if (userJoinResponse.MessageType == 12)//玩家准备 if (userJoinResponse.MessageType == 12)//玩家准备
{ {
Debug.Log("服务器给准备好消息"); if (userJoinResponse.IsAllReady)
GameObject.Find("HostCanvas").GetComponent<Starthost>().isSatisfy=true; {
Debug.Log("服务器给准备好消息");
GameObject.Find("HostCanvas").GetComponent<Starthost>().isSatisfy = true;
}
} }
break; break;

View File

@ -101,7 +101,7 @@ public class Panel : Base
public SelectScenePanel selectScenePanel; public SelectScenePanel selectScenePanel;
public DatePanel datePanel; public DatePanel datePanel;
public WarningPopPanel warningPopPanel; public WarningPopPanel warningPopPanel;
public RequirementPanel requirementPanel; //public RequirementPanel requirementPanel;
private bool isPersonSelected = false; // 标志是否选择了人员 private bool isPersonSelected = false; // 标志是否选择了人员
private bool isDutySelected = false; // 标志是否选择了职责 private bool isDutySelected = false; // 标志是否选择了职责
@ -908,7 +908,7 @@ public class Panel : Base
public void OnclickRequirementsBtn() public void OnclickRequirementsBtn()
{ {
requirementsPrefab.gameObject.SetActive(true); requirementsPrefab.gameObject.SetActive(true);
requirementPanel.LoadingSceneLable(); //requirementPanel.LoadingSceneLable();
} }
} }