/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Store { public partial class UI_WeekGiftUI { public GComponent target; public Controller m_c1; public GComponent m_bg; public GTextField m_txtLock; public GTextField m_txtWeekGiftBag; public GList m_listWeekGiftBag; public GButton m_btnGetWeekGiftBag; public const string URL = "ui://p9mtgheoe98ntdw"; public const string PACKAGE_NAME = "Store"; public const string RES_NAME = "WeekGiftUI"; private static UI_WeekGiftUI _proxy; public static UI_WeekGiftUI Create(GObject gObject = null) { var ui = new UI_WeekGiftUI(); 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_WeekGiftUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_WeekGiftUI(); } 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_c1 = comp.GetController("c1"); m_bg = (GComponent)comp.GetChild("bg"); m_txtLock = (GTextField)comp.GetChild("txtLock"); m_txtWeekGiftBag = (GTextField)comp.GetChild("txtWeekGiftBag"); m_listWeekGiftBag = (GList)comp.GetChild("listWeekGiftBag"); m_btnGetWeekGiftBag = (GButton)comp.GetChild("btnGetWeekGiftBag"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_bg = null; m_txtLock = null; m_txtWeekGiftBag = null; m_listWeekGiftBag = null; m_btnGetWeekGiftBag = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }