出战卡组UI

This commit is contained in:
YiHan0621
2025-09-19 14:07:19 +08:00
parent f3199704b8
commit 6e3e6b59a5
137 changed files with 11050 additions and 751 deletions

View File

@@ -409,6 +409,9 @@ namespace TcgEngine.UI
RefreshDeckCards();
}
/// <summary>
/// 刷新牌组卡片
/// </summary>
private void RefreshDeckCards()
{
foreach (DeckLine line in deck_card_lines)

View File

@@ -128,6 +128,17 @@ namespace TcgEngine.UI
gameObject.SetActive(true);
}
public void SetLine(CardData card, UserData udata, UserDeckData deck)
{
this.card = null;
this.deck = null;
this.udeck = deck;
hidden = false;
if(this.title!=null)
this.title.text = deck.title;
}
public void SetLine(string title)
{
this.card = null;