/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Activity { public partial class UI_SevenDayLoginUI { public GComponent target; public GList m_list; public UI_Component1 m_comIcon; public const string URL = "ui://5uawdql9lh8v6"; public const string PACKAGE_NAME = "Activity"; public const string RES_NAME = "SevenDayLoginUI"; private static UI_SevenDayLoginUI _proxy; public static UI_SevenDayLoginUI Create(GObject gObject = null) { var ui = new UI_SevenDayLoginUI(); 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_SevenDayLoginUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_SevenDayLoginUI(); } 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_list = (GList)comp.GetChild("list"); m_comIcon = (UI_Component1)UI_Component1.Create(comp.GetChild("comIcon")); } public void Dispose(bool disposeTarget = false) { m_list = null; m_comIcon.Dispose(); m_comIcon = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }