From 9dc2a1985e9ab8eacc040d729036dda5efcb3f83 Mon Sep 17 00:00:00 2001 From: "chiyu.lin" Date: Wed, 19 Nov 2025 13:52:06 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=94=B9=E7=82=BA=E8=83=BD=E6=8A=93?= =?UTF-8?q?=E5=88=B0=E9=9A=B1=E8=97=8F=E7=89=A9=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Server/ServerGameTalkingPanel.cs | 2 +- Assets/Scripts/Server/ServerGameTypingPanel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Server/ServerGameTalkingPanel.cs b/Assets/Scripts/Server/ServerGameTalkingPanel.cs index aea8077..46a0220 100644 --- a/Assets/Scripts/Server/ServerGameTalkingPanel.cs +++ b/Assets/Scripts/Server/ServerGameTalkingPanel.cs @@ -43,7 +43,7 @@ public class ServerGameTalkingPanel : MonoBehaviour private void Awake() { Instance = this; - customReportScript = gameObject.GetComponentInChildren(); + customReportScript = gameObject.GetComponentInChildren(includeInactive: true); } // Start is called once before the first execution of Update after the MonoBehaviour is created diff --git a/Assets/Scripts/Server/ServerGameTypingPanel.cs b/Assets/Scripts/Server/ServerGameTypingPanel.cs index 09d013c..65258ee 100644 --- a/Assets/Scripts/Server/ServerGameTypingPanel.cs +++ b/Assets/Scripts/Server/ServerGameTypingPanel.cs @@ -31,7 +31,7 @@ public class ServerGameTypingPanel : MonoBehaviour private void Awake() { Instance = this; - customReportScript = gameObject.GetComponentInChildren(); + customReportScript = gameObject.GetComponentInChildren(includeInactive: true); } public void processStep(int step)