/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Task { public partial class UI_ComTask { public GComponent target; public Controller m_c1; public GList m_listReward; public GTextField m_txtDesc0; public GLoader m_loaIcon; public GTextField m_txtDesc1; public GList m_list; public UI_Button3 m_btnGetAll; public const string URL = "ui://5mpsibzzfqor2p"; public const string PACKAGE_NAME = "Task"; public const string RES_NAME = "ComTask"; private static UI_ComTask _proxy; public static UI_ComTask Create(GObject gObject = null) { var ui = new UI_ComTask(); 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_ComTask Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComTask(); } 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_listReward = (GList)comp.GetChild("listReward"); m_txtDesc0 = (GTextField)comp.GetChild("txtDesc0"); m_loaIcon = (GLoader)comp.GetChild("loaIcon"); m_txtDesc1 = (GTextField)comp.GetChild("txtDesc1"); m_list = (GList)comp.GetChild("list"); m_btnGetAll = (UI_Button3)UI_Button3.Create(comp.GetChild("btnGetAll")); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_listReward = null; m_txtDesc0 = null; m_loaIcon = null; m_txtDesc1 = null; m_list = null; m_btnGetAll.Dispose(); m_btnGetAll = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }