|
@@ -12,34 +12,37 @@ namespace UI.Main
|
|
|
public GComponent m_valueBar;
|
|
|
public GTextField m_grpLeaguetext;
|
|
|
public GGroup m_grpLeagueTips;
|
|
|
- public UI_ButtonModle1 m_btnMain;
|
|
|
- public UI_ButtonModle1 m_btnXiuFang;
|
|
|
- public UI_ButtonModle1 m_btnHuanZhuang;
|
|
|
- public UI_ButtonModle1 m_btnZhaiXing;
|
|
|
- public UI_ButtonModle1 m_btnCiPai;
|
|
|
- public UI_ButtonModle1 m_btnHaiZhiShi;
|
|
|
public GGraph m_BottomEffectHolder;
|
|
|
public UI_ComponentHeadBar m_headBar;
|
|
|
public GButton m_btnYouJian;
|
|
|
public GButton m_btnGongGao;
|
|
|
public GList m_list;
|
|
|
public UI_ButtonChange m_btnChange;
|
|
|
- public UI_ComAd m_comListAd;
|
|
|
- public UI_BtnModle1 m_btnDailyWelfare;
|
|
|
- public UI_BtnModle2 m_btnActivityDay7;
|
|
|
public UI_BtnModle2 m_btnActivityLuckyBox;
|
|
|
- public UI_BtnModle2 m_btnOpenServerActivity;
|
|
|
public UI_BtnModle2 m_btnActivityAfuGift;
|
|
|
public UI_BtnModle2 m_btnWanShiLi;
|
|
|
public UI_BtnModle2 m_btnTea;
|
|
|
+ public UI_BtnModle2 m_btnOpenServerActivity;
|
|
|
+ public GTextField m_serverTime;
|
|
|
+ public GLoader m_loaGuidestudio;
|
|
|
+ public UI_ComAd m_comListAd;
|
|
|
public UI_BtnModle m_btnFirstRecharge;
|
|
|
public UI_BtnModle m_btnGiftBag1;
|
|
|
public UI_BtnModle m_btnGiftBag2;
|
|
|
- public GGroup m_grpLeft;
|
|
|
- public GTextField m_serverTime;
|
|
|
- public GGroup m_grpMove;
|
|
|
- public GLoader m_loaGuidestudio;
|
|
|
+ public UI_ButtonModle1 m_btnZhaiXing;
|
|
|
+ public UI_BtnModle1 m_btnDailyWelfare;
|
|
|
+ public UI_BtnModle2 m_btnActivityDay7;
|
|
|
+ public UI_BtnModle1 m_btnShow;
|
|
|
+ public UI_ButtonModle1 m_btnCiPai;
|
|
|
+ public UI_ButtonModle1 m_btnXiuFang;
|
|
|
+ public UI_ButtonModle1 m_btnHuanZhuang;
|
|
|
+ public UI_ButtonModle1 m_btnHaiZhiShi;
|
|
|
+ public UI_ButtonModle1 m_btnMain;
|
|
|
+ public GGroup m_AllUI;
|
|
|
+ public GGraph m_touchMask;
|
|
|
public Transition m_openViewAction;
|
|
|
+ public Transition m_hide;
|
|
|
+ public Transition m_show;
|
|
|
public const string URL = "ui://mfvz4q8kq08x0";
|
|
|
public const string PACKAGE_NAME = "Main";
|
|
|
public const string RES_NAME = "MainUI";
|
|
@@ -92,34 +95,37 @@ namespace UI.Main
|
|
|
m_valueBar = (GComponent)comp.GetChild("valueBar");
|
|
|
m_grpLeaguetext = (GTextField)comp.GetChild("grpLeaguetext");
|
|
|
m_grpLeagueTips = (GGroup)comp.GetChild("grpLeagueTips");
|
|
|
- m_btnMain = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnMain"));
|
|
|
- m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
|
|
|
- m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang"));
|
|
|
- m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
|
|
|
- m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
|
|
|
- m_btnHaiZhiShi = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHaiZhiShi"));
|
|
|
m_BottomEffectHolder = (GGraph)comp.GetChild("BottomEffectHolder");
|
|
|
m_headBar = (UI_ComponentHeadBar)UI_ComponentHeadBar.Create(comp.GetChild("headBar"));
|
|
|
m_btnYouJian = (GButton)comp.GetChild("btnYouJian");
|
|
|
m_btnGongGao = (GButton)comp.GetChild("btnGongGao");
|
|
|
m_list = (GList)comp.GetChild("list");
|
|
|
m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange"));
|
|
|
- m_comListAd = (UI_ComAd)UI_ComAd.Create(comp.GetChild("comListAd"));
|
|
|
- m_btnDailyWelfare = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnDailyWelfare"));
|
|
|
- m_btnActivityDay7 = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityDay7"));
|
|
|
m_btnActivityLuckyBox = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityLuckyBox"));
|
|
|
- m_btnOpenServerActivity = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnOpenServerActivity"));
|
|
|
m_btnActivityAfuGift = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityAfuGift"));
|
|
|
m_btnWanShiLi = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnWanShiLi"));
|
|
|
m_btnTea = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnTea"));
|
|
|
+ m_btnOpenServerActivity = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnOpenServerActivity"));
|
|
|
+ m_serverTime = (GTextField)comp.GetChild("serverTime");
|
|
|
+ m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio");
|
|
|
+ m_comListAd = (UI_ComAd)UI_ComAd.Create(comp.GetChild("comListAd"));
|
|
|
m_btnFirstRecharge = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnFirstRecharge"));
|
|
|
m_btnGiftBag1 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag1"));
|
|
|
m_btnGiftBag2 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag2"));
|
|
|
- m_grpLeft = (GGroup)comp.GetChild("grpLeft");
|
|
|
- m_serverTime = (GTextField)comp.GetChild("serverTime");
|
|
|
- m_grpMove = (GGroup)comp.GetChild("grpMove");
|
|
|
- m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio");
|
|
|
+ m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
|
|
|
+ m_btnDailyWelfare = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnDailyWelfare"));
|
|
|
+ m_btnActivityDay7 = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityDay7"));
|
|
|
+ m_btnShow = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnShow"));
|
|
|
+ m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
|
|
|
+ m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
|
|
|
+ m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang"));
|
|
|
+ m_btnHaiZhiShi = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHaiZhiShi"));
|
|
|
+ m_btnMain = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnMain"));
|
|
|
+ m_AllUI = (GGroup)comp.GetChild("AllUI");
|
|
|
+ m_touchMask = (GGraph)comp.GetChild("touchMask");
|
|
|
m_openViewAction = comp.GetTransition("openViewAction");
|
|
|
+ m_hide = comp.GetTransition("hide");
|
|
|
+ m_show = comp.GetTransition("show");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -128,18 +134,6 @@ namespace UI.Main
|
|
|
m_valueBar = null;
|
|
|
m_grpLeaguetext = null;
|
|
|
m_grpLeagueTips = null;
|
|
|
- m_btnMain.Dispose();
|
|
|
- m_btnMain = null;
|
|
|
- m_btnXiuFang.Dispose();
|
|
|
- m_btnXiuFang = null;
|
|
|
- m_btnHuanZhuang.Dispose();
|
|
|
- m_btnHuanZhuang = null;
|
|
|
- m_btnZhaiXing.Dispose();
|
|
|
- m_btnZhaiXing = null;
|
|
|
- m_btnCiPai.Dispose();
|
|
|
- m_btnCiPai = null;
|
|
|
- m_btnHaiZhiShi.Dispose();
|
|
|
- m_btnHaiZhiShi = null;
|
|
|
m_BottomEffectHolder = null;
|
|
|
m_headBar.Dispose();
|
|
|
m_headBar = null;
|
|
@@ -148,33 +142,49 @@ namespace UI.Main
|
|
|
m_list = null;
|
|
|
m_btnChange.Dispose();
|
|
|
m_btnChange = null;
|
|
|
- m_comListAd.Dispose();
|
|
|
- m_comListAd = null;
|
|
|
- m_btnDailyWelfare.Dispose();
|
|
|
- m_btnDailyWelfare = null;
|
|
|
- m_btnActivityDay7.Dispose();
|
|
|
- m_btnActivityDay7 = null;
|
|
|
m_btnActivityLuckyBox.Dispose();
|
|
|
m_btnActivityLuckyBox = null;
|
|
|
- m_btnOpenServerActivity.Dispose();
|
|
|
- m_btnOpenServerActivity = null;
|
|
|
m_btnActivityAfuGift.Dispose();
|
|
|
m_btnActivityAfuGift = null;
|
|
|
m_btnWanShiLi.Dispose();
|
|
|
m_btnWanShiLi = null;
|
|
|
m_btnTea.Dispose();
|
|
|
m_btnTea = null;
|
|
|
+ m_btnOpenServerActivity.Dispose();
|
|
|
+ m_btnOpenServerActivity = null;
|
|
|
+ m_serverTime = null;
|
|
|
+ m_loaGuidestudio = null;
|
|
|
+ m_comListAd.Dispose();
|
|
|
+ m_comListAd = null;
|
|
|
m_btnFirstRecharge.Dispose();
|
|
|
m_btnFirstRecharge = null;
|
|
|
m_btnGiftBag1.Dispose();
|
|
|
m_btnGiftBag1 = null;
|
|
|
m_btnGiftBag2.Dispose();
|
|
|
m_btnGiftBag2 = null;
|
|
|
- m_grpLeft = null;
|
|
|
- m_serverTime = null;
|
|
|
- m_grpMove = null;
|
|
|
- m_loaGuidestudio = null;
|
|
|
+ m_btnZhaiXing.Dispose();
|
|
|
+ m_btnZhaiXing = null;
|
|
|
+ m_btnDailyWelfare.Dispose();
|
|
|
+ m_btnDailyWelfare = null;
|
|
|
+ m_btnActivityDay7.Dispose();
|
|
|
+ m_btnActivityDay7 = null;
|
|
|
+ m_btnShow.Dispose();
|
|
|
+ m_btnShow = null;
|
|
|
+ m_btnCiPai.Dispose();
|
|
|
+ m_btnCiPai = null;
|
|
|
+ m_btnXiuFang.Dispose();
|
|
|
+ m_btnXiuFang = null;
|
|
|
+ m_btnHuanZhuang.Dispose();
|
|
|
+ m_btnHuanZhuang = null;
|
|
|
+ m_btnHaiZhiShi.Dispose();
|
|
|
+ m_btnHaiZhiShi = null;
|
|
|
+ m_btnMain.Dispose();
|
|
|
+ m_btnMain = null;
|
|
|
+ m_AllUI = null;
|
|
|
+ m_touchMask = null;
|
|
|
m_openViewAction = null;
|
|
|
+ m_hide = null;
|
|
|
+ m_show = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|