开卡界面修改

This commit is contained in:
YiHan0621
2025-10-15 20:19:31 +08:00
parent c8f1e585bf
commit 64d01f317b
2 changed files with 7 additions and 3 deletions

View File

@@ -30,8 +30,12 @@ namespace TcgEngine.UI
protected override void Awake()
{
base.Awake();
this.Show();
if (HandPackArea.Get() != null)
Hide();
if (PackPanel.Get() != null)
Show();
buy_five_btn.onClick.AddListener(() => OnClickBuy(1));
buy_ten_btn.onClick.AddListener(() => OnClickBuy(2));
}