/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.CommonGame { public partial class UI_ComItemIcon { public GComponent target; public GLoader m_loaIcon; public GTextField m_txtHasCount; public GLoader m_loaRarity; public GImage m_imgHas; public GImage m_imgNotHas; public GImage m_imgShowTong; public GGroup m_grpGot; public const string URL = "ui://eg2y0ldpng0itiz"; public const string PACKAGE_NAME = "CommonGame"; public const string RES_NAME = "ComItemIcon"; private static UI_ComItemIcon _proxy; public static UI_ComItemIcon Create(GObject gObject = null) { var ui = new UI_ComItemIcon(); 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_ComItemIcon Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComItemIcon(); } 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_loaIcon = (GLoader)comp.GetChild("loaIcon"); m_txtHasCount = (GTextField)comp.GetChild("txtHasCount"); m_loaRarity = (GLoader)comp.GetChild("loaRarity"); m_imgHas = (GImage)comp.GetChild("imgHas"); m_imgNotHas = (GImage)comp.GetChild("imgNotHas"); m_imgShowTong = (GImage)comp.GetChild("imgShowTong"); m_grpGot = (GGroup)comp.GetChild("grpGot"); } public void Dispose(bool disposeTarget = false) { m_loaIcon = null; m_txtHasCount = null; m_loaRarity = null; m_imgHas = null; m_imgNotHas = null; m_imgShowTong = null; m_grpGot = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }