/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Arena { public partial class UI_ArenaDanRewardUI { public GComponent target; public Controller m_c1; public UI_BtnTab0 m_btn0; public UI_BtnTab0 m_btn1; public GList m_listWeekDanReward; public GList m_listUpDanReward; public UI_ComMyDanReward m_comMyDanReward; public const string URL = "ui://4lc5fhlbpsph4"; public const string PACKAGE_NAME = "Arena"; public const string RES_NAME = "ArenaDanRewardUI"; private static UI_ArenaDanRewardUI _proxy; public static UI_ArenaDanRewardUI Create(GObject gObject = null) { var ui = new UI_ArenaDanRewardUI(); 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_ArenaDanRewardUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ArenaDanRewardUI(); } 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_btn0 = (UI_BtnTab0)UI_BtnTab0.Create(comp.GetChild("btn0")); m_btn1 = (UI_BtnTab0)UI_BtnTab0.Create(comp.GetChild("btn1")); m_listWeekDanReward = (GList)comp.GetChild("listWeekDanReward"); m_listUpDanReward = (GList)comp.GetChild("listUpDanReward"); m_comMyDanReward = (UI_ComMyDanReward)UI_ComMyDanReward.Create(comp.GetChild("comMyDanReward")); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_btn0.Dispose(); m_btn0 = null; m_btn1.Dispose(); m_btn1 = null; m_listWeekDanReward = null; m_listUpDanReward = null; m_comMyDanReward.Dispose(); m_comMyDanReward = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }