|
@@ -12,8 +12,8 @@ namespace UI.LuckyBox
|
|
|
public GButton m_btnBack;
|
|
|
public GButton m_btnHome;
|
|
|
public GComponent m_valueBar;
|
|
|
- public GButton m_btnPreview;
|
|
|
- public GButton m_btnExchange;
|
|
|
+ public UI_Button3 m_btnPreview;
|
|
|
+ public UI_Button3 m_btnExchange;
|
|
|
public GTextField m_txtOwned;
|
|
|
public GGroup m_grpTop;
|
|
|
public UI_ComCost m_comCostOne;
|
|
@@ -77,8 +77,8 @@ namespace UI.LuckyBox
|
|
|
m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
m_btnHome = (GButton)comp.GetChild("btnHome");
|
|
|
m_valueBar = (GComponent)comp.GetChild("valueBar");
|
|
|
- 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_grpTop = (GGroup)comp.GetChild("grpTop");
|
|
|
m_comCostOne = (UI_ComCost)UI_ComCost.Create(comp.GetChild("comCostOne"));
|
|
@@ -98,7 +98,9 @@ namespace UI.LuckyBox
|
|
|
m_btnBack = null;
|
|
|
m_btnHome = null;
|
|
|
m_valueBar = null;
|
|
|
+ m_btnPreview.Dispose();
|
|
|
m_btnPreview = null;
|
|
|
+ m_btnExchange.Dispose();
|
|
|
m_btnExchange = null;
|
|
|
m_txtOwned = null;
|
|
|
m_grpTop = null;
|