Compare commits

...

3 Commits

Author SHA1 Message Date
huyulong
1b549ba836 11 2025-01-03 10:20:02 +08:00
huyulong
b621dc4836 Merge branch 'main' of http://shu.sheziwanglo.cn:3000/wulongxiao/_xiaofang 2025-01-03 10:07:11 +08:00
huyulong
3a22e2dcc2 登录 2025-01-03 10:07:03 +08:00
2 changed files with 3 additions and 1 deletions

View File

@ -911,6 +911,7 @@ string HandleButtoncallId=11;//
if (userJoinResponse.IsAllReady)
{
Debug.Log("服务器给准备好消息");
GameObject.Find("HostCanvas").GetComponent<Starthost>().start.interactable = true;
GameObject.Find("HostCanvas").GetComponent<Starthost>().isSatisfy = true;
}

View File

@ -77,7 +77,8 @@ public class Starthost : MonoBehaviour
posiBtn = transform.Find("Panel1/right/under/btnRenYuanDaoWei").GetComponent<Button>();
start = transform.Find("Panel1/right/under/btnRenYanLianStart").GetComponent<Button>();
posiBtn.onClick.AddListener(OnClickPosiBtn);
start.onClick.AddListener(OnClickStartBtn);
start.interactable = false;
start.onClick.AddListener(OnClickStartBtn);
time = transform.Find("time").gameObject;
timeText = transform.Find("time/txtCountdown").GetComponent<Text>();