From 3a22e2dcc2429416c3f26d07248dd2232c4bb656 Mon Sep 17 00:00:00 2001 From: huyulong <1838407198@qq.com> Date: Fri, 3 Jan 2025 10:07:03 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaofang/Assets/ProtoBuf/test.cs | 1 + xiaofang/Assets/Res/gsj/scripts/Starthost.cs | 1 + 2 files changed, 2 insertions(+) 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