/** 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 GComponent m_valueBar; public UI_ComponentHeadBar m_headBar; public UI_ButtonModle1 m_btnMain; public UI_ButtonModle1 m_btnHuanZhuang; public UI_ButtonModle1 m_btnXiuFang; public UI_ButtonModle1 m_btnCiPai; public UI_ButtonModle1 m_btnZhaiXing; public UI_Component7 m_loaRight; public UI_BtnModle m_btnFirstRecharge; public UI_BtnModle m_btnGiftBag1; public UI_BtnModle m_btnGiftBag2; public GList m_list; public UI_ButtonChange m_btnChange; public GGroup m_grpList; public UI_ComAd m_comListAd; public UI_BtnModle1 m_btnDailyWelfare; public UI_BtnModle2 m_btnActivityDay7; public UI_BtnModle2 m_btnActivityLuckyBox; public GGroup m_grpLeft; public UI_ButtonModle6 m_btnArena; public UI_ButtonModle7 m_btn1; public UI_ButtonModle2 m_btnStudio; public UI_ButtonModle3 m_btnTravel; public UI_ButtonModle5 m_btnPoem; public UI_ButtonModle4 m_btnField; public UI_Component7 m_loaLeft; public GGroup m_grpRight; public GGroup m_grpMove; public GLoader m_loaGuidestudio; public Transition m_t1; public Transition m_t2; public Transition m_t3; public Transition m_t4; 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_valueBar = (GComponent)comp.GetChild("valueBar"); m_headBar = (UI_ComponentHeadBar)UI_ComponentHeadBar.Create(comp.GetChild("headBar")); m_btnMain = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnMain")); m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang")); m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang")); m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai")); m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing")); m_loaRight = (UI_Component7)UI_Component7.Create(comp.GetChild("loaRight")); 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_list = (GList)comp.GetChild("list"); m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange")); m_grpList = (GGroup)comp.GetChild("grpList"); 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_grpLeft = (GGroup)comp.GetChild("grpLeft"); m_btnArena = (UI_ButtonModle6)UI_ButtonModle6.Create(comp.GetChild("btnArena")); m_btn1 = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btn1")); m_btnStudio = (UI_ButtonModle2)UI_ButtonModle2.Create(comp.GetChild("btnStudio")); m_btnTravel = (UI_ButtonModle3)UI_ButtonModle3.Create(comp.GetChild("btnTravel")); m_btnPoem = (UI_ButtonModle5)UI_ButtonModle5.Create(comp.GetChild("btnPoem")); m_btnField = (UI_ButtonModle4)UI_ButtonModle4.Create(comp.GetChild("btnField")); m_loaLeft = (UI_Component7)UI_Component7.Create(comp.GetChild("loaLeft")); m_grpRight = (GGroup)comp.GetChild("grpRight"); m_grpMove = (GGroup)comp.GetChild("grpMove"); m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio"); m_t1 = comp.GetTransition("t1"); m_t2 = comp.GetTransition("t2"); m_t3 = comp.GetTransition("t3"); m_t4 = comp.GetTransition("t4"); } public void Dispose(bool disposeTarget = false) { m_valueBar = null; m_headBar.Dispose(); m_headBar = null; m_btnMain.Dispose(); m_btnMain = null; m_btnHuanZhuang.Dispose(); m_btnHuanZhuang = null; m_btnXiuFang.Dispose(); m_btnXiuFang = null; m_btnCiPai.Dispose(); m_btnCiPai = null; m_btnZhaiXing.Dispose(); m_btnZhaiXing = null; m_loaRight.Dispose(); m_loaRight = null; m_btnFirstRecharge.Dispose(); m_btnFirstRecharge = null; m_btnGiftBag1.Dispose(); m_btnGiftBag1 = null; m_btnGiftBag2.Dispose(); m_btnGiftBag2 = null; m_list = null; m_btnChange.Dispose(); m_btnChange = null; m_grpList = 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_grpLeft = null; m_btnArena.Dispose(); m_btnArena = null; m_btn1.Dispose(); m_btn1 = null; m_btnStudio.Dispose(); m_btnStudio = null; m_btnTravel.Dispose(); m_btnTravel = null; m_btnPoem.Dispose(); m_btnPoem = null; m_btnField.Dispose(); m_btnField = null; m_loaLeft.Dispose(); m_loaLeft = null; m_grpRight = null; m_grpMove = null; m_loaGuidestudio = null; m_t1 = null; m_t2 = null; m_t3 = null; m_t4 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }