1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Field
- {
- public partial class UI_FieldFightInfoUI
- {
- public GComponent target;
- public GButton m_btnStop;
- public GLoader m_loaNpc;
- public GTextField m_txtName;
- public GTextField m_txtNum;
- public GTextField m_txtDesc;
- public GTextField m_txtTime;
- public const string URL = "ui://5oh3t798s20jb";
- public const string PACKAGE_NAME = "Field";
- public const string RES_NAME = "FieldFightInfoUI";
- private static UI_FieldFightInfoUI _proxy;
- public static UI_FieldFightInfoUI Create(GObject gObject = null)
- {
- var ui = new UI_FieldFightInfoUI();
- 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_FieldFightInfoUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_FieldFightInfoUI();
- }
- 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_btnStop = (GButton)comp.GetChild("btnStop");
- m_loaNpc = (GLoader)comp.GetChild("loaNpc");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_txtNum = (GTextField)comp.GetChild("txtNum");
- m_txtDesc = (GTextField)comp.GetChild("txtDesc");
- m_txtTime = (GTextField)comp.GetChild("txtTime");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_btnStop = null;
- m_loaNpc = null;
- m_txtName = null;
- m_txtNum = null;
- m_txtDesc = null;
- m_txtTime = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|