/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Bag { public partial class UI_GiftBoxSelectorUI { public GComponent target; public GButton m_btnCancel; public GTextField m_txtItemDes; public GTextField m_txtTotalNum; public GLoader m_loaIcon; public GTextField m_txtName; public GList m_list; public GTextField m_txtSelRewardStr; public GButton m_btnSub; public const string URL = "ui://2bsz6nelu85qtlv"; public const string PACKAGE_NAME = "Bag"; public const string RES_NAME = "GiftBoxSelectorUI"; private static UI_GiftBoxSelectorUI _proxy; public static UI_GiftBoxSelectorUI Create(GObject gObject = null) { var ui = new UI_GiftBoxSelectorUI(); 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_GiftBoxSelectorUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_GiftBoxSelectorUI(); } 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_btnCancel = (GButton)comp.GetChild("btnCancel"); m_txtItemDes = (GTextField)comp.GetChild("txtItemDes"); m_txtTotalNum = (GTextField)comp.GetChild("txtTotalNum"); m_loaIcon = (GLoader)comp.GetChild("loaIcon"); m_txtName = (GTextField)comp.GetChild("txtName"); m_list = (GList)comp.GetChild("list"); m_txtSelRewardStr = (GTextField)comp.GetChild("txtSelRewardStr"); m_btnSub = (GButton)comp.GetChild("btnSub"); } public void Dispose(bool disposeTarget = false) { m_btnCancel = null; m_txtItemDes = null; m_txtTotalNum = null; m_loaIcon = null; m_txtName = null; m_list = null; m_txtSelRewardStr = null; m_btnSub = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }