备份完成的瓦片部分
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user