12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.TimeTracing
- {
- public partial class UI_TimeTracingShowUI
- {
- public GComponent target;
- public GGraph m_showSuit;
- public GLoader m_bg;
- public UI_Component1 m_switchBtn;
- public GTextField m_suitName;
- public GLoader m_ruleBtn;
- public GButton m_challgeBtn;
- public UI_Button2 m_makeSuitBtn;
- public GButton m_btnBack;
- public const string URL = "ui://gayfh946l8158";
- public const string PACKAGE_NAME = "TimeTracing";
- public const string RES_NAME = "TimeTracingShowUI";
- private static UI_TimeTracingShowUI _proxy;
- public static UI_TimeTracingShowUI Create(GObject gObject = null)
- {
- var ui = new UI_TimeTracingShowUI();
- 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_TimeTracingShowUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_TimeTracingShowUI();
- }
- 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_showSuit = (GGraph)comp.GetChild("showSuit");
- m_bg = (GLoader)comp.GetChild("bg");
- m_switchBtn = (UI_Component1)UI_Component1.Create(comp.GetChild("switchBtn"));
- m_suitName = (GTextField)comp.GetChild("suitName");
- m_ruleBtn = (GLoader)comp.GetChild("ruleBtn");
- m_challgeBtn = (GButton)comp.GetChild("challgeBtn");
- m_makeSuitBtn = (UI_Button2)UI_Button2.Create(comp.GetChild("makeSuitBtn"));
- m_btnBack = (GButton)comp.GetChild("btnBack");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_showSuit = null;
- m_bg = null;
- m_switchBtn.Dispose();
- m_switchBtn = null;
- m_suitName = null;
- m_ruleBtn = null;
- m_challgeBtn = null;
- m_makeSuitBtn.Dispose();
- m_makeSuitBtn = null;
- m_btnBack = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|