完善坐标系

This commit is contained in:
2025-06-27 01:08:56 +08:00
parent 7d724f9857
commit afc3a96bdf
15 changed files with 240 additions and 183 deletions

View File

@@ -63,8 +63,8 @@ public class UICellInfo : MonoBehaviour
if (MapManager.Instance.map == null || MapManager.Instance.map.selector == null)
return;
if(MapManager.Instance._curMapRegions == null) return;
txtMapWidth.text = MapManager.Instance._curMapRegions.regionColNum.ToString();
txtMapHeight.text = MapManager.Instance._curMapRegions.regionRowNum.ToString();
txtMapWidth.text = MapManager.Instance._curMapRegions.regionRowNum.ToString();
txtMapHeight.text = MapManager.Instance._curMapRegions.regionColNum.ToString();
txtCellRows.text = MapManager.Instance.map.selector.horizontalNumber.ToString();
txtCellCols.text = MapManager.Instance.map.selector.verticalNumber.ToString();
txtTotalCells.text = MapManager.Instance.map.selector.totalNumber.ToString();