提交所有

This commit is contained in:
2025-07-10 13:45:07 +08:00
parent afc3a96bdf
commit 2467a88fb4
6 changed files with 665 additions and 363 deletions

View File

@@ -104,11 +104,11 @@ public partial class MapManager : MonoBehaviour
}
}
public void CreateObs()
public void CreateObs(int mapid)
{
if(_curMapRegions == null) return;
float jpgscenew = PicMapPixel / 100.0f;
MapManager.Instance.GenerateMap(jpgscenew * _curMapRegions.regionRowNum, jpgscenew * _curMapRegions.regionColNum, _curMapRegions.cellWidthPixel / 100.0f, _curMapRegions.cellHeightPixel / 100.0f);
MapManager.Instance.GenerateMap(mapid, jpgscenew * _curMapRegions.regionRowNum, jpgscenew * _curMapRegions.regionColNum, _curMapRegions.cellWidthPixel / 100.0f, _curMapRegions.cellHeightPixel / 100.0f);
}
private async void multithreadLoadTextrue(string fullPath,SpriteRenderer sr)
{