Compare commits
3 Commits
034e707c01
...
1b549ba836
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1b549ba836 | ||
![]() |
b621dc4836 | ||
![]() |
3a22e2dcc2 |
@ -911,6 +911,7 @@ string HandleButtoncallId=11;//
|
|||||||
if (userJoinResponse.IsAllReady)
|
if (userJoinResponse.IsAllReady)
|
||||||
{
|
{
|
||||||
Debug.Log("服务器给准备好消息");
|
Debug.Log("服务器给准备好消息");
|
||||||
|
GameObject.Find("HostCanvas").GetComponent<Starthost>().start.interactable = true;
|
||||||
GameObject.Find("HostCanvas").GetComponent<Starthost>().isSatisfy = true;
|
GameObject.Find("HostCanvas").GetComponent<Starthost>().isSatisfy = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,7 +77,8 @@ public class Starthost : MonoBehaviour
|
|||||||
posiBtn = transform.Find("Panel1/right/under/btnRenYuanDaoWei").GetComponent<Button>();
|
posiBtn = transform.Find("Panel1/right/under/btnRenYuanDaoWei").GetComponent<Button>();
|
||||||
start = transform.Find("Panel1/right/under/btnRenYanLianStart").GetComponent<Button>();
|
start = transform.Find("Panel1/right/under/btnRenYanLianStart").GetComponent<Button>();
|
||||||
posiBtn.onClick.AddListener(OnClickPosiBtn);
|
posiBtn.onClick.AddListener(OnClickPosiBtn);
|
||||||
start.onClick.AddListener(OnClickStartBtn);
|
start.interactable = false;
|
||||||
|
start.onClick.AddListener(OnClickStartBtn);
|
||||||
|
|
||||||
time = transform.Find("time").gameObject;
|
time = transform.Find("time").gameObject;
|
||||||
timeText = transform.Find("time/txtCountdown").GetComponent<Text>();
|
timeText = transform.Find("time/txtCountdown").GetComponent<Text>();
|
||||||
|
Loading…
Reference in New Issue
Block a user