/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.CommonGame { public partial class UI_ComSpecialOfferGiftBoxItem { public GComponent target; public GImage m_nczlb; public GTextField m_txtBoxItemName; public UI_BtnBuy m_btnBuy; public GGraph m_holderBtn; public GTextField m_txtUrc; public GTextField m_txtGetJf; public UI_ComDiscount m_comDiscount; public GList m_list; public GGraph m_holderZheKou; public Transition m_t0; public const string URL = "ui://eg2y0ldpyjmk37"; public const string PACKAGE_NAME = "CommonGame"; public const string RES_NAME = "ComSpecialOfferGiftBoxItem"; private static UI_ComSpecialOfferGiftBoxItem _proxy; public static UI_ComSpecialOfferGiftBoxItem Create(GObject gObject = null) { var ui = new UI_ComSpecialOfferGiftBoxItem(); 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_ComSpecialOfferGiftBoxItem Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComSpecialOfferGiftBoxItem(); } 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_nczlb = (GImage)comp.GetChild("nczlb"); m_txtBoxItemName = (GTextField)comp.GetChild("txtBoxItemName"); m_btnBuy = (UI_BtnBuy)UI_BtnBuy.Create(comp.GetChild("btnBuy")); m_holderBtn = (GGraph)comp.GetChild("holderBtn"); m_txtUrc = (GTextField)comp.GetChild("txtUrc"); m_txtGetJf = (GTextField)comp.GetChild("txtGetJf"); m_comDiscount = (UI_ComDiscount)UI_ComDiscount.Create(comp.GetChild("comDiscount")); m_list = (GList)comp.GetChild("list"); m_holderZheKou = (GGraph)comp.GetChild("holderZheKou"); m_t0 = comp.GetTransition("t0"); } public void Dispose(bool disposeTarget = false) { m_nczlb = null; m_txtBoxItemName = null; m_btnBuy.Dispose(); m_btnBuy = null; m_holderBtn = null; m_txtUrc = null; m_txtGetJf = null; m_comDiscount.Dispose(); m_comDiscount = null; m_list = null; m_holderZheKou = null; m_t0 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }