(client) fix:修复匿名定义中的图片无法加载的问题

This commit is contained in:
m0_75251201
2025-07-19 13:33:49 +08:00
parent 526e8850e4
commit 0c8eebdd4b
31 changed files with 2684 additions and 568 deletions

View File

@ -16,7 +16,7 @@ namespace Map
void Start()
{
TileManager.Instance.Init();
var mapSize = 100;
var mapSize = 10;
float noiseScale = 0.1f;
for (int x = 0; x < mapSize; x++)
@ -39,11 +39,6 @@ namespace Map
mapData.Add(col);
UpdateTexture();
}
for (int x = 0; x < 16; x++)
{
textureLevel.SetTile(new(x,-1),TileManager.Instance.tileBaseMapping.GetValueOrDefault($"GrassDirt_{x}"));
}
}
public void UpdateTexture()