修复开始游戏无法点击和UI增加
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user