| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.CommonGame{    public partial class UI_ComponentValueBar    {        public GComponent target;        public Controller m_c1;        public UI_ButtonInValueBar m_btnCJLuoXing;        public UI_ButtonInValueBar m_btnCJHuoDong;        public UI_ButtonInValueBar m_btnTravel;        public UI_ButtonInValueBar m_btnGallery;        public UI_ButtonInValueBar m_btnPower;        public UI_ButtonInValueBar m_btnCJ;        public UI_ButtonInValueBar m_btnGold;        public UI_ButtonInValueBar m_btnDiamondRed;        public UI_ButtonInValueBar m_btnDiamondPurple;        public UI_ButtonInValueBar m_btnArena;        public UI_ButtonInValueBar m_btnLeagueContribuation;        public GList m_list;        public const string URL = "ui://eg2y0ldpv3541v";        public const string PACKAGE_NAME = "CommonGame";        public const string RES_NAME = "ComponentValueBar";        private static UI_ComponentValueBar _proxy;        public static UI_ComponentValueBar Create(GObject gObject = null)        {            var ui = new UI_ComponentValueBar();            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_ComponentValueBar Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_ComponentValueBar();            }            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_c1 = comp.GetController("c1");            m_btnCJLuoXing = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnCJLuoXing"));            m_btnCJHuoDong = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnCJHuoDong"));            m_btnTravel = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnTravel"));            m_btnGallery = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnGallery"));            m_btnPower = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnPower"));            m_btnCJ = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnCJ"));            m_btnGold = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnGold"));            m_btnDiamondRed = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnDiamondRed"));            m_btnDiamondPurple = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnDiamondPurple"));            m_btnArena = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnArena"));            m_btnLeagueContribuation = (UI_ButtonInValueBar)UI_ButtonInValueBar.Create(comp.GetChild("btnLeagueContribuation"));            m_list = (GList)comp.GetChild("list");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_btnCJLuoXing.Dispose();            m_btnCJLuoXing = null;            m_btnCJHuoDong.Dispose();            m_btnCJHuoDong = null;            m_btnTravel.Dispose();            m_btnTravel = null;            m_btnGallery.Dispose();            m_btnGallery = null;            m_btnPower.Dispose();            m_btnPower = null;            m_btnCJ.Dispose();            m_btnCJ = null;            m_btnGold.Dispose();            m_btnGold = null;            m_btnDiamondRed.Dispose();            m_btnDiamondRed = null;            m_btnDiamondPurple.Dispose();            m_btnDiamondPurple = null;            m_btnArena.Dispose();            m_btnArena = null;            m_btnLeagueContribuation.Dispose();            m_btnLeagueContribuation = null;            m_list = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |