|
@@ -8,18 +8,19 @@ namespace UI.OpenServerActivity
|
|
|
{
|
|
|
public GComponent target;
|
|
|
public GLoader m_loaBg;
|
|
|
+ public GGraph m_holderSmallBg;
|
|
|
public GButton m_btnBack;
|
|
|
public GGraph m_holderTitle;
|
|
|
- public GTextField m_timeText;
|
|
|
- public GButton m_ruleBtn;
|
|
|
- public GButton m_btnTenShu;
|
|
|
public GGraph m_holderFog;
|
|
|
- public UI_BtnAnswerTianmen m_btnAnswerTianmen;
|
|
|
- public UI_BtnMingTong m_btnMingTong;
|
|
|
- public UI_BtnNineZhouPool m_btnNineZhouPool;
|
|
|
- public UI_BtnHeaven m_btnHeaven;
|
|
|
+ public GButton m_btnAnswerTianmen;
|
|
|
+ public GButton m_btnMingTong;
|
|
|
+ public GButton m_btnHeaven;
|
|
|
+ public GButton m_btnNineZhouPool;
|
|
|
+ public GButton m_btnTenShu;
|
|
|
+ public GTextField m_txtDay;
|
|
|
+ public GTextField m_txtHour;
|
|
|
+ public GTextField m_txtMinute;
|
|
|
public GGraph m_holderSmallBgTx;
|
|
|
- public GGraph m_holderSmallBg;
|
|
|
public GButton m_buttonNewYearLogin;
|
|
|
public Transition m_openEff;
|
|
|
public const string URL = "ui://b8ha2mnsdedg0";
|
|
@@ -70,40 +71,38 @@ namespace UI.OpenServerActivity
|
|
|
private void Init(GComponent comp)
|
|
|
{
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
+ m_holderSmallBg = (GGraph)comp.GetChild("holderSmallBg");
|
|
|
m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
m_holderTitle = (GGraph)comp.GetChild("holderTitle");
|
|
|
- m_timeText = (GTextField)comp.GetChild("timeText");
|
|
|
- m_ruleBtn = (GButton)comp.GetChild("ruleBtn");
|
|
|
- m_btnTenShu = (GButton)comp.GetChild("btnTenShu");
|
|
|
m_holderFog = (GGraph)comp.GetChild("holderFog");
|
|
|
- m_btnAnswerTianmen = (UI_BtnAnswerTianmen)UI_BtnAnswerTianmen.Create(comp.GetChild("btnAnswerTianmen"));
|
|
|
- m_btnMingTong = (UI_BtnMingTong)UI_BtnMingTong.Create(comp.GetChild("btnMingTong"));
|
|
|
- m_btnNineZhouPool = (UI_BtnNineZhouPool)UI_BtnNineZhouPool.Create(comp.GetChild("btnNineZhouPool"));
|
|
|
- m_btnHeaven = (UI_BtnHeaven)UI_BtnHeaven.Create(comp.GetChild("btnHeaven"));
|
|
|
+ m_btnAnswerTianmen = (GButton)comp.GetChild("btnAnswerTianmen");
|
|
|
+ m_btnMingTong = (GButton)comp.GetChild("btnMingTong");
|
|
|
+ m_btnHeaven = (GButton)comp.GetChild("btnHeaven");
|
|
|
+ m_btnNineZhouPool = (GButton)comp.GetChild("btnNineZhouPool");
|
|
|
+ m_btnTenShu = (GButton)comp.GetChild("btnTenShu");
|
|
|
+ m_txtDay = (GTextField)comp.GetChild("txtDay");
|
|
|
+ m_txtHour = (GTextField)comp.GetChild("txtHour");
|
|
|
+ m_txtMinute = (GTextField)comp.GetChild("txtMinute");
|
|
|
m_holderSmallBgTx = (GGraph)comp.GetChild("holderSmallBgTx");
|
|
|
- m_holderSmallBg = (GGraph)comp.GetChild("holderSmallBg");
|
|
|
m_buttonNewYearLogin = (GButton)comp.GetChild("buttonNewYearLogin");
|
|
|
m_openEff = comp.GetTransition("openEff");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_loaBg = null;
|
|
|
+ m_holderSmallBg = null;
|
|
|
m_btnBack = null;
|
|
|
m_holderTitle = null;
|
|
|
- m_timeText = null;
|
|
|
- m_ruleBtn = null;
|
|
|
- m_btnTenShu = null;
|
|
|
m_holderFog = null;
|
|
|
- m_btnAnswerTianmen.Dispose();
|
|
|
m_btnAnswerTianmen = null;
|
|
|
- m_btnMingTong.Dispose();
|
|
|
m_btnMingTong = null;
|
|
|
- m_btnNineZhouPool.Dispose();
|
|
|
- m_btnNineZhouPool = null;
|
|
|
- m_btnHeaven.Dispose();
|
|
|
m_btnHeaven = null;
|
|
|
+ m_btnNineZhouPool = null;
|
|
|
+ m_btnTenShu = null;
|
|
|
+ m_txtDay = null;
|
|
|
+ m_txtHour = null;
|
|
|
+ m_txtMinute = null;
|
|
|
m_holderSmallBgTx = null;
|
|
|
- m_holderSmallBg = null;
|
|
|
m_buttonNewYearLogin = null;
|
|
|
m_openEff = null;
|
|
|
if(disposeTarget && target != null)
|