备份完成的瓦片部分

This commit is contained in:
m0_75251201
2025-07-17 19:14:51 +08:00
parent 41cc9c0c6d
commit 526e8850e4
3 changed files with 89 additions and 14 deletions

View File

@ -61,7 +61,7 @@ namespace Managers
// 创建Sprite
var sprite = Sprite.Create(texture, (Rect)spriteRect, new Vector2(0.5f, 0.5f), pixelsPerUnit);
var index = row * cols + col;
var index = (rows - row - 1) * cols + col;
sprites[name + $"_{index}"] = sprite;
}
}