/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.DailyTask { public partial class UI_DailyTaskUI { public GComponent target; public GImage m_bg; public GList m_listReward; public GTextField m_txtDesc0; public GTextField m_txtDesc1; public GLoader m_loaIcon; public GList m_list; public GButton m_btnGetAll; public GComponent m_comValueBar; public GButton m_btnback; public const string URL = "ui://5mpsibzzlh8v27"; public const string PACKAGE_NAME = "DailyTask"; public const string RES_NAME = "DailyTaskUI"; private static UI_DailyTaskUI _proxy; public static UI_DailyTaskUI Create(GObject gObject = null) { var ui = new UI_DailyTaskUI(); 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_DailyTaskUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_DailyTaskUI(); } 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_bg = (GImage)comp.GetChild("bg"); m_listReward = (GList)comp.GetChild("listReward"); m_txtDesc0 = (GTextField)comp.GetChild("txtDesc0"); m_txtDesc1 = (GTextField)comp.GetChild("txtDesc1"); m_loaIcon = (GLoader)comp.GetChild("loaIcon"); m_list = (GList)comp.GetChild("list"); m_btnGetAll = (GButton)comp.GetChild("btnGetAll"); m_comValueBar = (GComponent)comp.GetChild("comValueBar"); m_btnback = (GButton)comp.GetChild("btnback"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_listReward = null; m_txtDesc0 = null; m_txtDesc1 = null; m_loaIcon = null; m_list = null; m_btnGetAll = null; m_comValueBar = null; m_btnback = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }