123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Main
- {
- public partial class UI_StoryFightQuicklyUI
- {
- public GComponent target;
- public Controller m_c1;
- public GTextField m_txtName;
- public GTextField m_txtItemName;
- public GTextField m_txtItemNeedNum;
- public GGroup m_grpNeeditem;
- public GList m_list;
- public GTextField m_txtPowerDesc;
- public GButton m_btnExit;
- public GButton m_btnFightTimes;
- public UI_Component4 m_bar;
- public Transition m_t0;
- public const string URL = "ui://mfvz4q8ks2cc53";
- public const string PACKAGE_NAME = "Main";
- public const string RES_NAME = "StoryFightQuicklyUI";
- private static UI_StoryFightQuicklyUI _proxy;
- public static UI_StoryFightQuicklyUI Create(GObject gObject = null)
- {
- var ui = new UI_StoryFightQuicklyUI();
- 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_StoryFightQuicklyUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_StoryFightQuicklyUI();
- }
- 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_txtName = (GTextField)comp.GetChild("txtName");
- m_txtItemName = (GTextField)comp.GetChild("txtItemName");
- m_txtItemNeedNum = (GTextField)comp.GetChild("txtItemNeedNum");
- m_grpNeeditem = (GGroup)comp.GetChild("grpNeeditem");
- m_list = (GList)comp.GetChild("list");
- m_txtPowerDesc = (GTextField)comp.GetChild("txtPowerDesc");
- m_btnExit = (GButton)comp.GetChild("btnExit");
- m_btnFightTimes = (GButton)comp.GetChild("btnFightTimes");
- m_bar = (UI_Component4)UI_Component4.Create(comp.GetChild("bar"));
- m_t0 = comp.GetTransition("t0");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_txtName = null;
- m_txtItemName = null;
- m_txtItemNeedNum = null;
- m_grpNeeditem = null;
- m_list = null;
- m_txtPowerDesc = null;
- m_btnExit = null;
- m_btnFightTimes = null;
- m_bar.Dispose();
- m_bar = null;
- m_t0 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|