修复开始游戏无法点击和UI增加

This commit is contained in:
YiHan0621
2025-09-23 15:05:32 +08:00
parent fc76624711
commit 25cf205770
16 changed files with 792 additions and 144 deletions

View File

@@ -54,12 +54,12 @@ namespace TcgEngine
return null;
}
Debug.Log($"[SpriteLoader] Loading sprite: {relativePath}");
// Debug.Log($"[SpriteLoader] Loading sprite: {relativePath}");
// 检查缓存
if (spriteCache.ContainsKey(relativePath))
{
Debug.Log($"[SpriteLoader] Found in cache: {relativePath}");
// Debug.Log($"[SpriteLoader] Found in cache: {relativePath}");
return spriteCache[relativePath];
}