/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Main { public partial class UI_ComClick { public GComponent target; public GGraph m_grh_0; public GGraph m_grh_1; public GGraph m_grh_2; public GGraph m_grh_3; public GGraph m_grh_4; public GGraph m_grh_5; public UI_ComScoreResult m_comResult; public const string URL = "ui://mfvz4q8kf2bfiw"; public const string PACKAGE_NAME = "Main"; public const string RES_NAME = "ComClick"; private static UI_ComClick _proxy; public static UI_ComClick Create(GObject gObject = null) { var ui = new UI_ComClick(); 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_ComClick Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComClick(); } 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_grh_0 = (GGraph)comp.GetChild("grh_0"); m_grh_1 = (GGraph)comp.GetChild("grh_1"); m_grh_2 = (GGraph)comp.GetChild("grh_2"); m_grh_3 = (GGraph)comp.GetChild("grh_3"); m_grh_4 = (GGraph)comp.GetChild("grh_4"); m_grh_5 = (GGraph)comp.GetChild("grh_5"); m_comResult = (UI_ComScoreResult)UI_ComScoreResult.Create(comp.GetChild("comResult")); } public void Dispose(bool disposeTarget = false) { m_grh_0 = null; m_grh_1 = null; m_grh_2 = null; m_grh_3 = null; m_grh_4 = null; m_grh_5 = null; m_comResult.Dispose(); m_comResult = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }