|
@@ -7,10 +7,13 @@ namespace UI.LuckyBox
|
|
|
public partial class UI_comLuckBoxBtn
|
|
|
{
|
|
|
public GComponent target;
|
|
|
+ public Controller m_btnNumberType;
|
|
|
public UI_ComCost m_comCostOne;
|
|
|
public UI_ComCost m_comCostTen;
|
|
|
+ public UI_ComCost m_comCostFifty;
|
|
|
public GButton m_btnBuyOne;
|
|
|
public GButton m_btnBuyTen;
|
|
|
+ public GButton m_btnBuyFifty;
|
|
|
public GTextField m_txtRemainTimes;
|
|
|
public GImage m_imgSpecial;
|
|
|
public GGraph m_holder;
|
|
@@ -65,10 +68,13 @@ namespace UI.LuckyBox
|
|
|
|
|
|
private void Init(GComponent comp)
|
|
|
{
|
|
|
+ m_btnNumberType = comp.GetController("btnNumberType");
|
|
|
m_comCostOne = (UI_ComCost)UI_ComCost.Create(comp.GetChild("comCostOne"));
|
|
|
m_comCostTen = (UI_ComCost)UI_ComCost.Create(comp.GetChild("comCostTen"));
|
|
|
+ m_comCostFifty = (UI_ComCost)UI_ComCost.Create(comp.GetChild("comCostFifty"));
|
|
|
m_btnBuyOne = (GButton)comp.GetChild("btnBuyOne");
|
|
|
m_btnBuyTen = (GButton)comp.GetChild("btnBuyTen");
|
|
|
+ m_btnBuyFifty = (GButton)comp.GetChild("btnBuyFifty");
|
|
|
m_txtRemainTimes = (GTextField)comp.GetChild("txtRemainTimes");
|
|
|
m_imgSpecial = (GImage)comp.GetChild("imgSpecial");
|
|
|
m_holder = (GGraph)comp.GetChild("holder");
|
|
@@ -79,12 +85,16 @@ namespace UI.LuckyBox
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
+ m_btnNumberType = null;
|
|
|
m_comCostOne.Dispose();
|
|
|
m_comCostOne = null;
|
|
|
m_comCostTen.Dispose();
|
|
|
m_comCostTen = null;
|
|
|
+ m_comCostFifty.Dispose();
|
|
|
+ m_comCostFifty = null;
|
|
|
m_btnBuyOne = null;
|
|
|
m_btnBuyTen = null;
|
|
|
+ m_btnBuyFifty = null;
|
|
|
m_txtRemainTimes = null;
|
|
|
m_imgSpecial = null;
|
|
|
m_holder = null;
|