/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.LuckyBox { public partial class UI_LuckyBoxNewDressUI { public GComponent target; public GLoader m_loaBg; public GGraph m_holder_star; public GGraph m_holder_bg; public GGraph m_holder_cloud; public UI_ComCard m_comCard; public GButton m_btnPass; public Transition m_t_open_old; public Transition m_t_close; public Transition m_t_open; public const string URL = "ui://drx9d1usqdrt19"; public const string PACKAGE_NAME = "LuckyBox"; public const string RES_NAME = "LuckyBoxNewDressUI"; private static UI_LuckyBoxNewDressUI _proxy; public static UI_LuckyBoxNewDressUI Create(GObject gObject = null) { var ui = new UI_LuckyBoxNewDressUI(); 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_LuckyBoxNewDressUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_LuckyBoxNewDressUI(); } 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_loaBg = (GLoader)comp.GetChild("loaBg"); m_holder_star = (GGraph)comp.GetChild("holder_star"); m_holder_bg = (GGraph)comp.GetChild("holder_bg"); m_holder_cloud = (GGraph)comp.GetChild("holder_cloud"); m_comCard = (UI_ComCard)UI_ComCard.Create(comp.GetChild("comCard")); m_btnPass = (GButton)comp.GetChild("btnPass"); m_t_open_old = comp.GetTransition("t_open_old"); m_t_close = comp.GetTransition("t_close"); m_t_open = comp.GetTransition("t_open"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_holder_star = null; m_holder_bg = null; m_holder_cloud = null; m_comCard.Dispose(); m_comCard = null; m_btnPass = null; m_t_open_old = null; m_t_close = null; m_t_open = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }