| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 | /** 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 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_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 Transition m_openViewAction;        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_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_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_openViewAction = comp.GetTransition("openViewAction");        }        public void Dispose(bool disposeTarget = false)        {            m_type = null;            m_loaBg = null;            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;            m_btnYouJian = null;            m_btnGongGao = null;            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_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_openViewAction = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |