/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Store { public partial class UI_ComVipLv { public GComponent target; public GTextField m_txtLv; public UI_ProgressBar1 m_proExp; public GLoader m_loaIcon; public GTextField m_txtTips; public GGroup m_grpTips; public GButton m_btnRule; public GTextField m_txtTipsFull; public const string URL = "ui://p9mtgheohhx91r"; public const string PACKAGE_NAME = "Store"; public const string RES_NAME = "ComVipLv"; private static UI_ComVipLv _proxy; public static UI_ComVipLv Create(GObject gObject = null) { var ui = new UI_ComVipLv(); 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_ComVipLv Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComVipLv(); } 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_txtLv = (GTextField)comp.GetChild("txtLv"); m_proExp = (UI_ProgressBar1)UI_ProgressBar1.Create(comp.GetChild("proExp")); m_loaIcon = (GLoader)comp.GetChild("loaIcon"); m_txtTips = (GTextField)comp.GetChild("txtTips"); m_grpTips = (GGroup)comp.GetChild("grpTips"); m_btnRule = (GButton)comp.GetChild("btnRule"); m_txtTipsFull = (GTextField)comp.GetChild("txtTipsFull"); } public void Dispose(bool disposeTarget = false) { m_txtLv = null; m_proExp.Dispose(); m_proExp = null; m_loaIcon = null; m_txtTips = null; m_grpTips = null; m_btnRule = null; m_txtTipsFull = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }