编辑器

This commit is contained in:
tangbin
2025-11-18 10:11:56 +08:00
parent 841a08f40e
commit 5af3e15719
89 changed files with 6430 additions and 19 deletions

View File

@@ -108,7 +108,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(MapManager.Instance._curOpenMapId,width * cellW, height * cellH, cellW, cellH);
MapManager.Instance.GenerateMap(MapManager.Instance._curOpenMapId,width, height, cellW, cellH);
var newRendData = MapManager.Instance.map?.selector?.GetGridData();
for (int i = 0; i < MapManager.Instance.map?.selector.horizontalNumber; i++)
{