|
@@ -10,14 +10,16 @@ namespace UI.Main
|
|
|
public Controller m_type;
|
|
|
public GLoader m_loaBg;
|
|
|
public GComponent m_valueBar;
|
|
|
- public GTextField m_grpLeaguetext;
|
|
|
- public GGroup m_grpLeagueTips;
|
|
|
public GGraph m_BottomEffectHolder;
|
|
|
public UI_ComponentHeadBar m_headBar;
|
|
|
public GButton m_btnYouJian;
|
|
|
public GButton m_btnGongGao;
|
|
|
- public GList m_list;
|
|
|
+ public UI_Button6 m_storageBtn;
|
|
|
public UI_ButtonChange m_btnChange;
|
|
|
+ public GList m_list;
|
|
|
+ public GTextField m_grpLeaguetext;
|
|
|
+ public GGroup m_grpLeagueTips;
|
|
|
+ public GGroup m_listGroud;
|
|
|
public UI_BtnModle2 m_btnActivityAfuGift;
|
|
|
public UI_BtnModle2 m_btnWanShiLi;
|
|
|
public UI_BtnModle2 m_btnTea;
|
|
@@ -32,13 +34,13 @@ namespace UI.Main
|
|
|
public UI_BtnModle m_btnFirstRecharge;
|
|
|
public UI_BtnModle m_btnGiftBag1;
|
|
|
public UI_BtnModle m_btnGiftBag2;
|
|
|
- public UI_BtnModle1 m_btnShow;
|
|
|
public UI_ButtonModle1 m_btnZhaiXing;
|
|
|
public UI_ButtonModleEffect m_btnMain;
|
|
|
public UI_ButtonModle1 m_btnCiPai;
|
|
|
public UI_ButtonModle1 m_btnXiuFang;
|
|
|
public UI_ButtonModle1 m_btnHuanZhuang;
|
|
|
public UI_ButtonModleEffect m_btnHaiZhiShi;
|
|
|
+ public UI_BtnModle1 m_btnShow;
|
|
|
public UI_BtnModle1 m_btnDailyWelfare;
|
|
|
public UI_BtnModle1 m_btnNewPlayerReward;
|
|
|
public UI_BtnModle3 m_btnSevenReward;
|
|
@@ -50,6 +52,7 @@ namespace UI.Main
|
|
|
public Transition m_openViewAction;
|
|
|
public Transition m_hide;
|
|
|
public Transition m_show;
|
|
|
+ public Transition m_storage;
|
|
|
public const string URL = "ui://mfvz4q8kq08x0";
|
|
|
public const string PACKAGE_NAME = "Main";
|
|
|
public const string RES_NAME = "MainUI";
|
|
@@ -100,14 +103,16 @@ namespace UI.Main
|
|
|
m_type = comp.GetController("type");
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
m_valueBar = (GComponent)comp.GetChild("valueBar");
|
|
|
- m_grpLeaguetext = (GTextField)comp.GetChild("grpLeaguetext");
|
|
|
- m_grpLeagueTips = (GGroup)comp.GetChild("grpLeagueTips");
|
|
|
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_storageBtn = (UI_Button6)UI_Button6.Create(comp.GetChild("storageBtn"));
|
|
|
m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange"));
|
|
|
+ m_list = (GList)comp.GetChild("list");
|
|
|
+ m_grpLeaguetext = (GTextField)comp.GetChild("grpLeaguetext");
|
|
|
+ m_grpLeagueTips = (GGroup)comp.GetChild("grpLeagueTips");
|
|
|
+ m_listGroud = (GGroup)comp.GetChild("listGroud");
|
|
|
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"));
|
|
@@ -122,13 +127,13 @@ namespace UI.Main
|
|
|
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_btnShow = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnShow"));
|
|
|
m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
|
|
|
m_btnMain = (UI_ButtonModleEffect)UI_ButtonModleEffect.Create(comp.GetChild("btnMain"));
|
|
|
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_ButtonModleEffect)UI_ButtonModleEffect.Create(comp.GetChild("btnHaiZhiShi"));
|
|
|
+ m_btnShow = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnShow"));
|
|
|
m_btnDailyWelfare = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnDailyWelfare"));
|
|
|
m_btnNewPlayerReward = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnNewPlayerReward"));
|
|
|
m_btnSevenReward = (UI_BtnModle3)UI_BtnModle3.Create(comp.GetChild("btnSevenReward"));
|
|
@@ -140,22 +145,26 @@ namespace UI.Main
|
|
|
m_openViewAction = comp.GetTransition("openViewAction");
|
|
|
m_hide = comp.GetTransition("hide");
|
|
|
m_show = comp.GetTransition("show");
|
|
|
+ m_storage = comp.GetTransition("storage");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_type = null;
|
|
|
m_loaBg = null;
|
|
|
m_valueBar = null;
|
|
|
- m_grpLeaguetext = null;
|
|
|
- m_grpLeagueTips = null;
|
|
|
m_BottomEffectHolder = null;
|
|
|
m_headBar.Dispose();
|
|
|
m_headBar = null;
|
|
|
m_btnYouJian = null;
|
|
|
m_btnGongGao = null;
|
|
|
- m_list = null;
|
|
|
+ m_storageBtn.Dispose();
|
|
|
+ m_storageBtn = null;
|
|
|
m_btnChange.Dispose();
|
|
|
m_btnChange = null;
|
|
|
+ m_list = null;
|
|
|
+ m_grpLeaguetext = null;
|
|
|
+ m_grpLeagueTips = null;
|
|
|
+ m_listGroud = null;
|
|
|
m_btnActivityAfuGift.Dispose();
|
|
|
m_btnActivityAfuGift = null;
|
|
|
m_btnWanShiLi.Dispose();
|
|
@@ -182,8 +191,6 @@ namespace UI.Main
|
|
|
m_btnGiftBag1 = null;
|
|
|
m_btnGiftBag2.Dispose();
|
|
|
m_btnGiftBag2 = null;
|
|
|
- m_btnShow.Dispose();
|
|
|
- m_btnShow = null;
|
|
|
m_btnZhaiXing.Dispose();
|
|
|
m_btnZhaiXing = null;
|
|
|
m_btnMain.Dispose();
|
|
@@ -196,6 +203,8 @@ namespace UI.Main
|
|
|
m_btnHuanZhuang = null;
|
|
|
m_btnHaiZhiShi.Dispose();
|
|
|
m_btnHaiZhiShi = null;
|
|
|
+ m_btnShow.Dispose();
|
|
|
+ m_btnShow = null;
|
|
|
m_btnDailyWelfare.Dispose();
|
|
|
m_btnDailyWelfare = null;
|
|
|
m_btnNewPlayerReward.Dispose();
|
|
@@ -213,6 +222,7 @@ namespace UI.Main
|
|
|
m_openViewAction = null;
|
|
|
m_hide = null;
|
|
|
m_show = null;
|
|
|
+ m_storage = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|