|
@@ -9,8 +9,8 @@ namespace UI.LuckyBox
|
|
|
public GComponent target;
|
|
|
public UI_ComModel m_comModel;
|
|
|
public GLoader m_loaImg;
|
|
|
- public GButton m_btnPreview;
|
|
|
- public GButton m_btnExchange;
|
|
|
+ public UI_Button3 m_btnPreview;
|
|
|
+ public UI_Button3 m_btnExchange;
|
|
|
public GTextField m_txtOwned;
|
|
|
public UI_ComCost m_comCostOne;
|
|
|
public UI_ComCost m_comCostTen;
|
|
@@ -66,8 +66,8 @@ namespace UI.LuckyBox
|
|
|
{
|
|
|
m_comModel = (UI_ComModel)UI_ComModel.Create(comp.GetChild("comModel"));
|
|
|
m_loaImg = (GLoader)comp.GetChild("loaImg");
|
|
|
- m_btnPreview = (GButton)comp.GetChild("btnPreview");
|
|
|
- m_btnExchange = (GButton)comp.GetChild("btnExchange");
|
|
|
+ m_btnPreview = (UI_Button3)UI_Button3.Create(comp.GetChild("btnPreview"));
|
|
|
+ m_btnExchange = (UI_Button3)UI_Button3.Create(comp.GetChild("btnExchange"));
|
|
|
m_txtOwned = (GTextField)comp.GetChild("txtOwned");
|
|
|
m_comCostOne = (UI_ComCost)UI_ComCost.Create(comp.GetChild("comCostOne"));
|
|
|
m_comCostTen = (UI_ComCost)UI_ComCost.Create(comp.GetChild("comCostTen"));
|
|
@@ -80,7 +80,9 @@ namespace UI.LuckyBox
|
|
|
m_comModel.Dispose();
|
|
|
m_comModel = null;
|
|
|
m_loaImg = null;
|
|
|
+ m_btnPreview.Dispose();
|
|
|
m_btnPreview = null;
|
|
|
+ m_btnExchange.Dispose();
|
|
|
m_btnExchange = null;
|
|
|
m_txtOwned = null;
|
|
|
m_comCostOne.Dispose();
|