From bba48a5f2562e2b320b39a534fb48d4e1c552850 Mon Sep 17 00:00:00 2001 From: lq <3298408835@qq.com> Date: Wed, 18 Dec 2024 10:24:23 +0800 Subject: [PATCH] =?UTF-8?q?LogError=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaofang/Assets/Script/Scheduled_03/Panel.cs | 2 +- xiaofang/Assets/Script/UI/PanelUI/EvacuationPanel.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/xiaofang/Assets/Script/Scheduled_03/Panel.cs b/xiaofang/Assets/Script/Scheduled_03/Panel.cs index 13388e1a..6c2e8c28 100644 --- a/xiaofang/Assets/Script/Scheduled_03/Panel.cs +++ b/xiaofang/Assets/Script/Scheduled_03/Panel.cs @@ -788,7 +788,7 @@ public class Panel : MonoBehaviour Text personText = personItem.GetComponentInChildren(); if (personText != null) - {Debug.LogError("INININNIININININININININININININININININININI"); + { // 检查该人员是否已经添加到当前场景 bool isPersonAdded = sceneDataDictionary[selectedInfo.scene].Any(info => info.name == personText.text); diff --git a/xiaofang/Assets/Script/UI/PanelUI/EvacuationPanel.cs b/xiaofang/Assets/Script/UI/PanelUI/EvacuationPanel.cs index d643d8cc..3a0cc0dc 100644 --- a/xiaofang/Assets/Script/UI/PanelUI/EvacuationPanel.cs +++ b/xiaofang/Assets/Script/UI/PanelUI/EvacuationPanel.cs @@ -81,7 +81,6 @@ public class EvacuationPanel : MonoBehaviour createTemplateInfo.Instance.auth_CreateTemplate.npcList = new List(); foreach(var npcInfo in personnelItems) { - Debug.LogError("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"); NpcList nPC = new NpcList(); nPC.npcId = npcInfo.npcId.ToString(); nPC.areaId = npcInfo.sceneId.ToString();