diff --git a/xiaofang/Assets/ProtoBuf/test.cs b/xiaofang/Assets/ProtoBuf/test.cs index 3bb79484..11151a54 100644 --- a/xiaofang/Assets/ProtoBuf/test.cs +++ b/xiaofang/Assets/ProtoBuf/test.cs @@ -911,6 +911,7 @@ string HandleButtoncallId=11;// if (userJoinResponse.IsAllReady) { Debug.Log("服务器给准备好消息"); + GameObject.Find("HostCanvas").GetComponent().start.interactable = true; GameObject.Find("HostCanvas").GetComponent().isSatisfy = true; } diff --git a/xiaofang/Assets/Res/gsj/scripts/Starthost.cs b/xiaofang/Assets/Res/gsj/scripts/Starthost.cs index d598b00e..fa9660d2 100644 --- a/xiaofang/Assets/Res/gsj/scripts/Starthost.cs +++ b/xiaofang/Assets/Res/gsj/scripts/Starthost.cs @@ -77,6 +77,7 @@ public class Starthost : MonoBehaviour posiBtn = transform.Find("Panel1/right/under/btnRenYuanDaoWei").GetComponent