12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- /** 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 UI_ComAllPerfect m_comAllPerfect;
- public const string URL = "ui://mfvz4q8kpsphj5";
- 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"));
- m_comAllPerfect = (UI_ComAllPerfect)UI_ComAllPerfect.Create(comp.GetChild("comAllPerfect"));
- }
- 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;
- m_comAllPerfect.Dispose();
- m_comAllPerfect = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|