新改动

This commit is contained in:
tangbin
2025-07-30 15:22:56 +08:00
parent f88a2e9504
commit 9331a51652
11 changed files with 30 additions and 26 deletions

View File

@@ -79,7 +79,7 @@ public class UICellInfo : MonoBehaviour
/// </summary>
public void LoadCell()
{
MapManager.Instance.LoadMapObs(UIWindow.Instance.uiMapPanel.CurOpenMapId);
MapManager.Instance.LoadMapObs(MapManager.Instance._curOpenMapId);
ShowMapCellInfo();
}
/// <summary>
@@ -91,7 +91,7 @@ public class UICellInfo : MonoBehaviour
int height = int.Parse(txtCellCols.text);
float cellW = int.Parse(txtCellWidth.text) / 100.0f;
float cellH = int.Parse(txtCellHeight.text) / 100.0f;
MapManager.Instance.GenerateMap(UIWindow.Instance.uiMapPanel.CurOpenMapId,width * cellW, height * cellH, cellW, cellH);
MapManager.Instance.GenerateMap(MapManager.Instance._curOpenMapId,width * cellW, height * cellH, cellW, cellH);
ShowMapCellInfo();
}
public void Update()