1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.EnduringGiftBox
- {
- public partial class UI_ComCurSupplyItem
- {
- public GComponent target;
- public GTextField m_txtLrc;
- public GTextField m_txtUrc;
- public UI_BtnBuy m_btnBuy;
- public UI_BtnReceive m_btnCurReceive;
- public UI_ComLeftGiftBox m_comLeftGiftBox;
- public GTextField m_txtTitle;
- public GTextField m_txtWeekPrompt;
- public GImage m_icoWeekPromptTag;
- public GList m_list;
- public const string URL = "ui://bdi1qe15qqhz11";
- public const string PACKAGE_NAME = "EnduringGiftBox";
- public const string RES_NAME = "ComCurSupplyItem";
- private static UI_ComCurSupplyItem _proxy;
- public static UI_ComCurSupplyItem Create(GObject gObject = null)
- {
- var ui = new UI_ComCurSupplyItem();
- 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_ComCurSupplyItem Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ComCurSupplyItem();
- }
- 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_txtLrc = (GTextField)comp.GetChild("txtLrc");
- m_txtUrc = (GTextField)comp.GetChild("txtUrc");
- m_btnBuy = (UI_BtnBuy)UI_BtnBuy.Create(comp.GetChild("btnBuy"));
- m_btnCurReceive = (UI_BtnReceive)UI_BtnReceive.Create(comp.GetChild("btnCurReceive"));
- m_comLeftGiftBox = (UI_ComLeftGiftBox)UI_ComLeftGiftBox.Create(comp.GetChild("comLeftGiftBox"));
- m_txtTitle = (GTextField)comp.GetChild("txtTitle");
- m_txtWeekPrompt = (GTextField)comp.GetChild("txtWeekPrompt");
- m_icoWeekPromptTag = (GImage)comp.GetChild("icoWeekPromptTag");
- m_list = (GList)comp.GetChild("list");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_txtLrc = null;
- m_txtUrc = null;
- m_btnBuy.Dispose();
- m_btnBuy = null;
- m_btnCurReceive.Dispose();
- m_btnCurReceive = null;
- m_comLeftGiftBox.Dispose();
- m_comLeftGiftBox = null;
- m_txtTitle = null;
- m_txtWeekPrompt = null;
- m_icoWeekPromptTag = null;
- m_list = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|