LogError删除

This commit is contained in:
lq 2024-12-18 10:24:23 +08:00
parent 71e68b463c
commit bba48a5f25
2 changed files with 1 additions and 2 deletions

View File

@ -788,7 +788,7 @@ public class Panel : MonoBehaviour
Text personText = personItem.GetComponentInChildren<Text>(); Text personText = personItem.GetComponentInChildren<Text>();
if (personText != null) if (personText != null)
{Debug.LogError("INININNIININININININININININININININININININI"); {
// 检查该人员是否已经添加到当前场景 // 检查该人员是否已经添加到当前场景
bool isPersonAdded = sceneDataDictionary[selectedInfo.scene].Any(info => info.name == personText.text); bool isPersonAdded = sceneDataDictionary[selectedInfo.scene].Any(info => info.name == personText.text);

View File

@ -81,7 +81,6 @@ public class EvacuationPanel : MonoBehaviour
createTemplateInfo.Instance.auth_CreateTemplate.npcList = new List<NpcList>(); createTemplateInfo.Instance.auth_CreateTemplate.npcList = new List<NpcList>();
foreach(var npcInfo in personnelItems) foreach(var npcInfo in personnelItems)
{ {
Debug.LogError("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
NpcList nPC = new NpcList(); NpcList nPC = new NpcList();
nPC.npcId = npcInfo.npcId.ToString(); nPC.npcId = npcInfo.npcId.ToString();
nPC.areaId = npcInfo.sceneId.ToString(); nPC.areaId = npcInfo.sceneId.ToString();