/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.DailyWelfare { public partial class UI_NewLimitChargeUI { public GComponent target; public GLoader m_loaBg; public GList m_list; public UI_ListShowItem m_showItem; public GButton m_btnBack; public GLoader m_name; public GTextField m_packageName; public GTextField m_txtTime; public GGroup m_grpTime; public GButton m_btnRight; public GButton m_btnLeft; public GLoader m_btnCharge; public const string URL = "ui://t8nwuj7idn9y2h"; public const string PACKAGE_NAME = "DailyWelfare"; public const string RES_NAME = "NewLimitChargeUI"; private static UI_NewLimitChargeUI _proxy; public static UI_NewLimitChargeUI Create(GObject gObject = null) { var ui = new UI_NewLimitChargeUI(); 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_NewLimitChargeUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_NewLimitChargeUI(); } 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_loaBg = (GLoader)comp.GetChild("loaBg"); m_list = (GList)comp.GetChild("list"); m_showItem = (UI_ListShowItem)UI_ListShowItem.Create(comp.GetChild("showItem")); m_btnBack = (GButton)comp.GetChild("btnBack"); m_name = (GLoader)comp.GetChild("name"); m_packageName = (GTextField)comp.GetChild("packageName"); m_txtTime = (GTextField)comp.GetChild("txtTime"); m_grpTime = (GGroup)comp.GetChild("grpTime"); m_btnRight = (GButton)comp.GetChild("btnRight"); m_btnLeft = (GButton)comp.GetChild("btnLeft"); m_btnCharge = (GLoader)comp.GetChild("btnCharge"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_list = null; m_showItem.Dispose(); m_showItem = null; m_btnBack = null; m_name = null; m_packageName = null; m_txtTime = null; m_grpTime = null; m_btnRight = null; m_btnLeft = null; m_btnCharge = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }