/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.ActivityDay7 { public partial class UI_ActivityDay7UI { public GComponent target; public GLoader m_loabg; public GLoader m_Top_img; public GLoader m_Top_img2; public GButton m_btnBack; public GTextField m_TimeStr; public GButton m_tip; public GProgressBar m_ExpProcess; public GList m_DayList; public GLoader m_EndIndex; public GLoader m_StartIndex; public GTextField m_Score; public GTextField m_txtLevel; public UI_comTaskList m_comTaskList; public const string URL = "ui://kupdwln7nyhm1"; public const string PACKAGE_NAME = "ActivityDay7"; public const string RES_NAME = "ActivityDay7UI"; private static UI_ActivityDay7UI _proxy; public static UI_ActivityDay7UI Create(GObject gObject = null) { var ui = new UI_ActivityDay7UI(); 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_ActivityDay7UI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ActivityDay7UI(); } 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_Top_img = (GLoader)comp.GetChild("Top_img"); m_Top_img2 = (GLoader)comp.GetChild("Top_img2"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_TimeStr = (GTextField)comp.GetChild("TimeStr"); m_tip = (GButton)comp.GetChild("tip"); m_ExpProcess = (GProgressBar)comp.GetChild("ExpProcess"); m_DayList = (GList)comp.GetChild("DayList"); m_EndIndex = (GLoader)comp.GetChild("EndIndex"); m_StartIndex = (GLoader)comp.GetChild("StartIndex"); m_Score = (GTextField)comp.GetChild("Score"); m_txtLevel = (GTextField)comp.GetChild("txtLevel"); m_comTaskList = (UI_comTaskList)UI_comTaskList.Create(comp.GetChild("comTaskList")); } public void Dispose(bool disposeTarget = false) { m_loabg = null; m_Top_img = null; m_Top_img2 = null; m_btnBack = null; m_TimeStr = null; m_tip = null; m_ExpProcess = null; m_DayList = null; m_EndIndex = null; m_StartIndex = null; m_Score = null; m_txtLevel = null; m_comTaskList.Dispose(); m_comTaskList = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }