/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Main { public partial class UI_ComBtn { public GComponent target; public GButton m_btnGetAllDressUpItem; public GButton m_btnGetAllCardItem; public GButton m_btnSetLv; public GTextInput m_txtRoleLv; public GButton m_btnSetChapter; public GTextInput m_txtChapter; public GTextInput m_txtChapterLv; public GButton m_btnAll; public const string URL = "ui://mfvz4q8klqp0dm"; public const string PACKAGE_NAME = "Main"; public const string RES_NAME = "ComBtn"; private static UI_ComBtn _proxy; public static UI_ComBtn Create(GObject gObject = null) { var ui = new UI_ComBtn(); 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_ComBtn Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComBtn(); } 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_btnGetAllDressUpItem = (GButton)comp.GetChild("btnGetAllDressUpItem"); m_btnGetAllCardItem = (GButton)comp.GetChild("btnGetAllCardItem"); m_btnSetLv = (GButton)comp.GetChild("btnSetLv"); m_txtRoleLv = (GTextInput)comp.GetChild("txtRoleLv"); m_btnSetChapter = (GButton)comp.GetChild("btnSetChapter"); m_txtChapter = (GTextInput)comp.GetChild("txtChapter"); m_txtChapterLv = (GTextInput)comp.GetChild("txtChapterLv"); m_btnAll = (GButton)comp.GetChild("btnAll"); } public void Dispose(bool disposeTarget = false) { m_btnGetAllDressUpItem = null; m_btnGetAllCardItem = null; m_btnSetLv = null; m_txtRoleLv = null; m_btnSetChapter = null; m_txtChapter = null; m_txtChapterLv = null; m_btnAll = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }