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

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

@@ -37,6 +37,8 @@ namespace TcgEngine.Client
private bool removed = false;
private bool is_new = false;
private float timer = 0f;
private bool hasOpenedStandardPack = false;
private static List<PackCard> card_list = new List<PackCard>();
@@ -61,12 +63,9 @@ namespace TcgEngine.Client
transform.rotation = Quaternion.Slerp(transform.rotation, rtarget, flip_speed * Time.deltaTime);
}
if (removed && timer > 4f)
Destroy(gameObject);
if (card_list.Count==5)
if (removed && timer > 1f)
{
Destroy(gameObject);
}
}