卡组数据删减
This commit is contained in:
@@ -53,7 +53,7 @@ namespace TcgEngine.UI
|
||||
public IconButton[] hero_powers;
|
||||
|
||||
private TeamData filter_team = null;
|
||||
private int filter_dropdown = 0;
|
||||
public int filter_dropdown = 0;
|
||||
private string filter_search = "";
|
||||
|
||||
private List<CollectionCard> card_list = new List<CollectionCard>();
|
||||
@@ -112,6 +112,10 @@ namespace TcgEngine.UI
|
||||
hover.text += " <size=16>Mana: " + iability.mana_cost + "</size>";
|
||||
}
|
||||
}
|
||||
if (!spawned)
|
||||
{
|
||||
SpawnCards();
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
@@ -157,6 +161,7 @@ namespace TcgEngine.UI
|
||||
dCard.SetCard(card, variant, 0);
|
||||
dCard.onClick += OnClickCard;
|
||||
dCard.onClickRight += OnClickCardRight;
|
||||
|
||||
all_list.Add(dCard);
|
||||
nCard.SetActive(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user