1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- /** 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_txtName;
- public GTextField m_txtTotalNum;
- public GLoader m_loaIcon;
- public GList m_list;
- public GTextField m_txtSelRewardStr;
- 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_txtName = (GTextField)comp.GetChild("txtName");
- m_txtTotalNum = (GTextField)comp.GetChild("txtTotalNum");
- m_loaIcon = (GLoader)comp.GetChild("loaIcon");
- m_list = (GList)comp.GetChild("list");
- m_txtSelRewardStr = (GTextField)comp.GetChild("txtSelRewardStr");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_btnCancel = null;
- m_txtItemDes = null;
- m_txtName = null;
- m_txtTotalNum = null;
- m_loaIcon = null;
- m_list = null;
- m_txtSelRewardStr = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|