This commit is contained in:
tangbin
2025-06-22 18:23:47 +08:00
parent 1cb6dc502f
commit b1c9facf3e
9 changed files with 297 additions and 22 deletions

View File

@@ -10,6 +10,7 @@ using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Networking;
using UnityEngine.UI;
using UnityEngine.UIElements;
public partial class MapManager : MonoBehaviour
{
@@ -132,6 +133,23 @@ public partial class MapManager : MonoBehaviour
{
if (_curOpenMapId <= 0)
return;
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>г<EFBFBD><D0B3><EFBFBD><EFBFBD>Ķ<EFBFBD><C4B6><EFBFBD>
foreach (Transform child in mapMonsterArea)
{
Destroy(child.gameObject);
}
foreach (Transform child in mapNPCArea)
{
Destroy(child.gameObject);
}
foreach (Transform child in mapTeleportArea)
{
Destroy(child.gameObject);
}
foreach (Transform child in mapReliveArea)
{
Destroy(child.gameObject);
}
UIWindow.Instance.uiCellInfo.CloseMap();
UIWindow.Instance.uiMonstersPanel.RemoveAll();
ClearMapRegions();