/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.TimeTracing { public partial class UI_proBarItem { public GComponent target; public Controller m_c1; public GImage m_Got; public GImage m_canGet; public GLoader m_icon; public GImage m_GotIcon; public GTextField m_count; public const string URL = "ui://gayfh946iwcl2u"; public const string PACKAGE_NAME = "TimeTracing"; public const string RES_NAME = "proBarItem"; private static UI_proBarItem _proxy; public static UI_proBarItem Create(GObject gObject = null) { var ui = new UI_proBarItem(); 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_proBarItem Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_proBarItem(); } 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_Got = (GImage)comp.GetChild("Got"); m_canGet = (GImage)comp.GetChild("canGet"); m_icon = (GLoader)comp.GetChild("icon"); m_GotIcon = (GImage)comp.GetChild("GotIcon"); m_count = (GTextField)comp.GetChild("count"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_Got = null; m_canGet = null; m_icon = null; m_GotIcon = null; m_count = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }