/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.ActivityHuaRongDao { public partial class UI_ActivityHuaRongDaoUI { public GComponent target; public GButton m_btnClose; public UI_item m_item; public UI_items m_items; public const string URL = "ui://wf8geywtnx120"; public const string PACKAGE_NAME = "ActivityHuaRongDao"; public const string RES_NAME = "ActivityHuaRongDaoUI"; private static UI_ActivityHuaRongDaoUI _proxy; public static UI_ActivityHuaRongDaoUI Create(GObject gObject = null) { var ui = new UI_ActivityHuaRongDaoUI(); 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_ActivityHuaRongDaoUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ActivityHuaRongDaoUI(); } 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_btnClose = (GButton)comp.GetChild("btnClose"); m_item = (UI_item)UI_item.Create(comp.GetChild("item")); m_items = (UI_items)UI_items.Create(comp.GetChild("items")); } public void Dispose(bool disposeTarget = false) { m_btnClose = null; m_item.Dispose(); m_item = null; m_items.Dispose(); m_items = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }