public void Load() { MapSaver.Load(savePath, mapEntity); //load以后的小处理 MapInSceneManager.Instance.Init(mapEntity.xMax, mapEntity.yMax); if (!isGaming) { startPosText.text = "起点坐标:" + mapEntity.StartPos.x + "," + mapEntity.StartPos.y; endPosText.text = "终点坐标:" + mapEntity.EndPos.x + "," + mapEntity.EndPos.y; } DrawMap(); }
public void Save() { MapSaver.Save(savePath, mapEntity); }