This commit is contained in:
2025-06-17 00:45:53 +08:00
parent ef59e805a4
commit 9938302de9
2 changed files with 75 additions and 365 deletions

View File

@@ -136,28 +136,6 @@ public class UIMapPanel : MonoBehaviour
return MapManager.Instance.allMaps.ContainsKey(mapId);
}
public void ResetMap()
{
if (dropMap.options.Count == 0)
{
UIWindow.Instance.ShowMessage("<22><><EFBFBD><EFBFBD>ɨ<EFBFBD><C9A8><EFBFBD><EFBFBD>ͼ");
return;
}
if (_curOpenMapId < 0)
{
UIWindow.Instance.ShowMessage(<>е<EFBFBD>ͼ");
return;
}
//<2F>ȹرյ<D8B1>ͼ
CloseMap();
UIWindow.Instance.uiEditMapConfig.Cleanup();
//<2F>ٴ򿪵<D9B4>ͼ
OpenMap();
}
private void Update()
{
if (Input.GetKey(KeyCode.LeftControl) && Input.GetKey(KeyCode.S))