From 67564d89f06d0dc78e869ec19120242693950ae8 Mon Sep 17 00:00:00 2001 From: lq <3298408835@qq.com> Date: Fri, 3 Jan 2025 17:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8D=E5=AD=97=E4=BF=AE=E6=94=B9=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaofang/Assets/Script/UI/PanelUI/PersonnelPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xiaofang/Assets/Script/UI/PanelUI/PersonnelPanel.cs b/xiaofang/Assets/Script/UI/PanelUI/PersonnelPanel.cs index c77b4f31..5cc3f6da 100644 --- a/xiaofang/Assets/Script/UI/PanelUI/PersonnelPanel.cs +++ b/xiaofang/Assets/Script/UI/PanelUI/PersonnelPanel.cs @@ -57,6 +57,6 @@ public class PersonnelPanel : MonoBehaviour { GameObject gameObject = Instantiate(personelItem, personContent); PersonnelInfo personnelInfo = gameObject.GetComponent(); - personnelInfo.name = name; + personnelInfo.nameText.text = name; } }