| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.TimeTracing{    public partial class UI_TimeTracingLevelUI    {        public GComponent target;        public GLoader m_bg;        public GButton m_btnBack;        public GLoader m_rankBtn;        public GLoader m_headFrame;        public GLoader m_headIcon;        public GTextField m_playerName;        public UI_TimeTracingLevelItem m_level1;        public UI_TimeTracingLevelItem m_level2;        public UI_TimeTracingLevelItem m_level3;        public UI_TimeTracingLevelItem m_level4;        public UI_TimeTracingLevelItem m_level5;        public GLoader m_suitBg;        public GTextField m_suitNum;        public GLoader m_suitIcon;        public GGroup m_targetSuit;        public GProgressBar m_proBar;        public GTextField m_countNum;        public UI_proBarItem m_barItem0;        public UI_proBarItem m_barItem1;        public UI_proBarItem m_barItem2;        public UI_proBarItem m_barItem3;        public UI_proBarItem m_barItem4;        public GComponent m_moneyList;        public const string URL = "ui://gayfh946l815g";        public const string PACKAGE_NAME = "TimeTracing";        public const string RES_NAME = "TimeTracingLevelUI";        private static UI_TimeTracingLevelUI _proxy;        public static UI_TimeTracingLevelUI Create(GObject gObject = null)        {            var ui = new UI_TimeTracingLevelUI();            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_TimeTracingLevelUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_TimeTracingLevelUI();            }            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_bg = (GLoader)comp.GetChild("bg");            m_btnBack = (GButton)comp.GetChild("btnBack");            m_rankBtn = (GLoader)comp.GetChild("rankBtn");            m_headFrame = (GLoader)comp.GetChild("headFrame");            m_headIcon = (GLoader)comp.GetChild("headIcon");            m_playerName = (GTextField)comp.GetChild("playerName");            m_level1 = (UI_TimeTracingLevelItem)UI_TimeTracingLevelItem.Create(comp.GetChild("level1"));            m_level2 = (UI_TimeTracingLevelItem)UI_TimeTracingLevelItem.Create(comp.GetChild("level2"));            m_level3 = (UI_TimeTracingLevelItem)UI_TimeTracingLevelItem.Create(comp.GetChild("level3"));            m_level4 = (UI_TimeTracingLevelItem)UI_TimeTracingLevelItem.Create(comp.GetChild("level4"));            m_level5 = (UI_TimeTracingLevelItem)UI_TimeTracingLevelItem.Create(comp.GetChild("level5"));            m_suitBg = (GLoader)comp.GetChild("suitBg");            m_suitNum = (GTextField)comp.GetChild("suitNum");            m_suitIcon = (GLoader)comp.GetChild("suitIcon");            m_targetSuit = (GGroup)comp.GetChild("targetSuit");            m_proBar = (GProgressBar)comp.GetChild("proBar");            m_countNum = (GTextField)comp.GetChild("countNum");            m_barItem0 = (UI_proBarItem)UI_proBarItem.Create(comp.GetChild("barItem0"));            m_barItem1 = (UI_proBarItem)UI_proBarItem.Create(comp.GetChild("barItem1"));            m_barItem2 = (UI_proBarItem)UI_proBarItem.Create(comp.GetChild("barItem2"));            m_barItem3 = (UI_proBarItem)UI_proBarItem.Create(comp.GetChild("barItem3"));            m_barItem4 = (UI_proBarItem)UI_proBarItem.Create(comp.GetChild("barItem4"));            m_moneyList = (GComponent)comp.GetChild("moneyList");        }        public void Dispose(bool disposeTarget = false)        {            m_bg = null;            m_btnBack = null;            m_rankBtn = null;            m_headFrame = null;            m_headIcon = null;            m_playerName = null;            m_level1.Dispose();            m_level1 = null;            m_level2.Dispose();            m_level2 = null;            m_level3.Dispose();            m_level3 = null;            m_level4.Dispose();            m_level4 = null;            m_level5.Dispose();            m_level5 = null;            m_suitBg = null;            m_suitNum = null;            m_suitIcon = null;            m_targetSuit = null;            m_proBar = null;            m_countNum = null;            m_barItem0.Dispose();            m_barItem0 = null;            m_barItem1.Dispose();            m_barItem1 = null;            m_barItem2.Dispose();            m_barItem2 = null;            m_barItem3.Dispose();            m_barItem3 = null;            m_barItem4.Dispose();            m_barItem4 = null;            m_moneyList = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |