/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Mail { public partial class UI_MailUI { public GComponent target; public GLoader m_bg; public GList m_list; public GButton m_btnDelete; public GButton m_btnGet; public GTextField m_txtTips; public GTextField m_txtCount; public GTextField m_txtMaxCount; public const string URL = "ui://y44a413eehs9c"; public const string PACKAGE_NAME = "Mail"; public const string RES_NAME = "MailUI"; private static UI_MailUI _proxy; public static UI_MailUI Create(GObject gObject = null) { var ui = new UI_MailUI(); 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_MailUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_MailUI(); } 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_list = (GList)comp.GetChild("list"); m_btnDelete = (GButton)comp.GetChild("btnDelete"); m_btnGet = (GButton)comp.GetChild("btnGet"); m_txtTips = (GTextField)comp.GetChild("txtTips"); m_txtCount = (GTextField)comp.GetChild("txtCount"); m_txtMaxCount = (GTextField)comp.GetChild("txtMaxCount"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_list = null; m_btnDelete = null; m_btnGet = null; m_txtTips = null; m_txtCount = null; m_txtMaxCount = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }