开卡界面修改
This commit is contained in:
@@ -1113,8 +1113,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 57.840088, y: 58.390015}
|
||||
m_SizeDelta: {x: 89, y: 89}
|
||||
m_AnchoredPosition: {x: 71.3, y: 1013.1}
|
||||
m_SizeDelta: {x: 114.27, y: 113.86}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &585122094
|
||||
MonoBehaviour:
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user