Merge branch 'main' of http://shu.sheziwanglo.cn:3000/wulongxiao/_xiaofang
This commit is contained in:
commit
42db58b47d
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,8 +76,9 @@ public class Starthost : MonoBehaviour
|
|||||||
panel = transform.Find("Panel1").gameObject;
|
panel = transform.Find("Panel1").gameObject;
|
||||||
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.onClick.AddListener(OnClickStartBtn);
|
||||||
|
start.interactable = false;
|
||||||
|
|
||||||
time = transform.Find("time").gameObject;
|
time = transform.Find("time").gameObject;
|
||||||
timeText = transform.Find("time/txtCountdown").GetComponent<Text>();
|
timeText = transform.Find("time/txtCountdown").GetComponent<Text>();
|
||||||
|
@ -55978,7 +55978,7 @@ MonoBehaviour:
|
|||||||
m_PressedTrigger: Pressed
|
m_PressedTrigger: Pressed
|
||||||
m_SelectedTrigger: Selected
|
m_SelectedTrigger: Selected
|
||||||
m_DisabledTrigger: Disabled
|
m_DisabledTrigger: Disabled
|
||||||
m_Interactable: 1
|
m_Interactable: 0
|
||||||
m_TargetGraphic: {fileID: 5640692781816547267}
|
m_TargetGraphic: {fileID: 5640692781816547267}
|
||||||
m_OnClick:
|
m_OnClick:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
Loading…
Reference in New Issue
Block a user