重复加载卡牌

This commit is contained in:
xianyi
2025-09-12 17:25:55 +08:00
parent fe0b8cec77
commit 211454c34f
4 changed files with 58 additions and 35 deletions

View File

@@ -67,6 +67,8 @@ namespace TcgEngine.UI
/// </summary>
public void SetAvatarPath(string path)
{
if (avatar_path == path)
return;
avatar_path = path;
LoadAvatarSprite();
}