/** 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 GButton m_btnBack; public GTextField m_TimeStr; public GButton m_tip; public GProgressBar m_ExpProcess; public GTextField m_Score; public GList m_DayList; public GList m_TaskList; public GLoader m_EndIndex; public GLoader m_StartIndex; 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_btnBack = (GButton)comp.GetChild("btnBack"); m_TimeStr = (GTextField)comp.GetChild("TimeStr"); m_tip = (GButton)comp.GetChild("tip"); m_ExpProcess = (GProgressBar)comp.GetChild("ExpProcess"); m_Score = (GTextField)comp.GetChild("Score"); m_DayList = (GList)comp.GetChild("DayList"); m_TaskList = (GList)comp.GetChild("TaskList"); m_EndIndex = (GLoader)comp.GetChild("EndIndex"); m_StartIndex = (GLoader)comp.GetChild("StartIndex"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_btnBack = null; m_TimeStr = null; m_tip = null; m_ExpProcess = null; m_Score = null; m_DayList = null; m_TaskList = null; m_EndIndex = null; m_StartIndex = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }