/** 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 Controller m_state; public GLoader m_loaBg; public UI_item m_item; public GTextField m_seconds; public GGroup m_tips; public GButton m_btnLookPic; public GButton m_btnHidePic; public GButton m_btnRefresh; public UI_items m_items; public UI_items m_itemsOrigin; public GGraph m_maskTouch; public GGraph m_mask; public GGraph m_maskGlobal; public GButton m_btnBack; public Transition m_showMask; public Transition m_hideMask; 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_state = comp.GetController("state"); m_loaBg = (GLoader)comp.GetChild("loaBg"); m_item = (UI_item)UI_item.Create(comp.GetChild("item")); m_seconds = (GTextField)comp.GetChild("seconds"); m_tips = (GGroup)comp.GetChild("tips"); m_btnLookPic = (GButton)comp.GetChild("btnLookPic"); m_btnHidePic = (GButton)comp.GetChild("btnHidePic"); m_btnRefresh = (GButton)comp.GetChild("btnRefresh"); m_items = (UI_items)UI_items.Create(comp.GetChild("items")); m_itemsOrigin = (UI_items)UI_items.Create(comp.GetChild("itemsOrigin")); m_maskTouch = (GGraph)comp.GetChild("maskTouch"); m_mask = (GGraph)comp.GetChild("mask"); m_maskGlobal = (GGraph)comp.GetChild("maskGlobal"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_showMask = comp.GetTransition("showMask"); m_hideMask = comp.GetTransition("hideMask"); } public void Dispose(bool disposeTarget = false) { m_state = null; m_loaBg = null; m_item.Dispose(); m_item = null; m_seconds = null; m_tips = null; m_btnLookPic = null; m_btnHidePic = null; m_btnRefresh = null; m_items.Dispose(); m_items = null; m_itemsOrigin.Dispose(); m_itemsOrigin = null; m_maskTouch = null; m_mask = null; m_maskGlobal = null; m_btnBack = null; m_showMask = null; m_hideMask = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }