/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.DressUp { public partial class UI_ComSearch { public GComponent target; public Controller m_c1; public GList m_listRarity; public GGroup m_grpRarity; public GList m_listScore; public GGroup m_grpScore; public GList m_listTag; public GGroup m_grpTags; public const string URL = "ui://mbo439wbozulfb"; public const string PACKAGE_NAME = "DressUp"; public const string RES_NAME = "ComSearch"; private static UI_ComSearch _proxy; public static UI_ComSearch Create(GObject gObject = null) { var ui = new UI_ComSearch(); 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_ComSearch Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComSearch(); } 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_listRarity = (GList)comp.GetChild("listRarity"); m_grpRarity = (GGroup)comp.GetChild("grpRarity"); m_listScore = (GList)comp.GetChild("listScore"); m_grpScore = (GGroup)comp.GetChild("grpScore"); m_listTag = (GList)comp.GetChild("listTag"); m_grpTags = (GGroup)comp.GetChild("grpTags"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_listRarity = null; m_grpRarity = null; m_listScore = null; m_grpScore = null; m_listTag = null; m_grpTags = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }