登录
This commit is contained in:
parent
8792d291ec
commit
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,6 +77,7 @@ 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.interactable = false;
|
||||||
start.onClick.AddListener(OnClickStartBtn);
|
start.onClick.AddListener(OnClickStartBtn);
|
||||||
|
|
||||||
time = transform.Find("time").gameObject;
|
time = transform.Find("time").gameObject;
|
||||||
|
Loading…
Reference in New Issue
Block a user