(client) fix:修复匿名定义中的图片无法加载的问题
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user