/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Main { public partial class UI_MainUI { public GComponent target; 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_ButtonChange m_btnChange; public UI_BtnModle2 m_btnActivityAfuGift; public UI_BtnModle2 m_btnWanShiLi; public UI_BtnModle2 m_btnTea; public UI_BtnModle2 m_btnOpenServerActivity; public UI_BtnModle2 m_btnActivityLuckyBox; public UI_BtnModle2 m_btnActivityZCJB; public UI_BtnModle2 m_btnGetYuanXiao; 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 UI_ButtonModle1 m_btnZhaiXing; public UI_BtnModle1 m_btnNewYearRedEnvelope; public UI_BtnModle1 m_btnDailyWelfare; public UI_BtnModle1 m_btnActivityDay7; public UI_BtnModle1 m_btnShow; public UI_ButtonModle1 m_btnCiPai; public UI_ButtonModle1 m_btnXiuFang; public UI_ButtonModle1 m_btnHuanZhuang; public UI_ButtonModleEffect m_btnHaiZhiShi; public UI_ButtonModleEffect 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"; private static UI_MainUI _proxy; public static UI_MainUI Create(GObject gObject = null) { var ui = new UI_MainUI(); if(gObject == null) ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME); else ui.target = (GComponent)gObject; ui.Init(ui.target); return ui; } public static UI_MainUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_MainUI(); } var ui = _proxy; if(gObject == null) ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME); else ui.target = (GComponent)gObject; ui.Init(ui.target); return ui; } public static void ProxyEnd() { if (_proxy != null) { _proxy.Dispose(); } } public static void ClearProxy() { ProxyEnd(); _proxy = null; } private void Init(GComponent comp) { 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_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange")); 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_btnActivityLuckyBox = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityLuckyBox")); m_btnActivityZCJB = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnActivityZCJB")); m_btnGetYuanXiao = (UI_BtnModle2)UI_BtnModle2.Create(comp.GetChild("btnGetYuanXiao")); 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_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing")); m_btnNewYearRedEnvelope = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnNewYearRedEnvelope")); m_btnDailyWelfare = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnDailyWelfare")); m_btnActivityDay7 = (UI_BtnModle1)UI_BtnModle1.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_ButtonModleEffect)UI_ButtonModleEffect.Create(comp.GetChild("btnHaiZhiShi")); m_btnMain = (UI_ButtonModleEffect)UI_ButtonModleEffect.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) { 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_btnChange.Dispose(); m_btnChange = 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_btnActivityLuckyBox.Dispose(); m_btnActivityLuckyBox = null; m_btnActivityZCJB.Dispose(); m_btnActivityZCJB = null; m_btnGetYuanXiao.Dispose(); m_btnGetYuanXiao = 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_btnZhaiXing.Dispose(); m_btnZhaiXing = null; m_btnNewYearRedEnvelope.Dispose(); m_btnNewYearRedEnvelope = 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(); target.Dispose(); } target = null; } } }