完善抽卡界面以及根据优化意见和功能缺失做出调整
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user