bao
This commit is contained in:
@@ -60,25 +60,6 @@ public class UICellInfo : MonoBehaviour
|
||||
UIWindow.Instance.uiCellEditor.togEdit.isOn = false;
|
||||
UIWindow.Instance.uiCellEditor.togPathTest.isOn = false;
|
||||
}
|
||||
|
||||
public void LoadCells()
|
||||
{
|
||||
if (!bMapOpened)
|
||||
{
|
||||
UIWindow.Instance.ShowMessage("<22><><EFBFBD>ȴ<C8B4>ͼ");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!MapManager.Instance.LoadObsXml())
|
||||
CalculationCells();
|
||||
|
||||
txtCellWidth.text = MapManager.Instance.CellWidth.ToString();
|
||||
txtCellHeight.text = MapManager.Instance.CellHeight.ToString();
|
||||
txtCellRows.text = MapManager.Instance.CellRows.ToString();
|
||||
txtCellCols.text = MapManager.Instance.CellCols.ToString();
|
||||
txtTotalCells.text = (MapManager.Instance.CellRows * MapManager.Instance.CellCols).ToString();
|
||||
}
|
||||
|
||||
public void ShowCells()
|
||||
{
|
||||
MapManager.Instance.ShowMapGrid();
|
||||
|
||||
Reference in New Issue
Block a user