完善抽卡界面以及根据优化意见和功能缺失做出调整

This commit is contained in:
YiHan0621
2025-10-13 01:41:20 +08:00
parent 2e4a318ca3
commit f14b8d6ac6
14 changed files with 702 additions and 304 deletions

View File

@@ -1,7 +1,10 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using TcgEngine.UI;
using UnityEngine;
using Random = UnityEngine.Random;
namespace TcgEngine.Client
{
@@ -12,7 +15,10 @@ namespace TcgEngine.Client
public class OpenPackMenu : MonoBehaviour
{
public GameObject card_prefab;
public PackBuyPanel packBuyPanel;
private bool revealing = false;
private static OpenPackMenu instance;
@@ -20,6 +26,7 @@ namespace TcgEngine.Client
void Awake()
{
instance = this;
packBuyPanel.SetPack(PlayerPrefs.GetString("pack_id"));
}
void Update()