新改动
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user