123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Field
- {
- public partial class UI_FieldUI
- {
- public GComponent target;
- public Controller m_c1;
- public GButton m_btnBack;
- public GComponent m_comValueBar;
- public UI_Button1 m_btn0;
- public UI_Button1 m_btn1;
- public UI_Button1 m_btn2;
- public GGroup m_grpTab;
- public GTextField m_txtScore;
- public GGroup m_grpScore;
- public GButton m_btnGo;
- public GTextField m_txtMaxLv;
- public GLoader m_loaConsume;
- public GTextField m_txtConsume;
- public GGroup m_grpconsume;
- public GButton m_btnTask;
- public GProgressBar m_proTaskReward;
- public GLoader m_loaTaskReward;
- public GGroup m_grpTaskReward;
- public GTextField m_txtTime;
- public GGroup m_grpTime;
- public const string URL = "ui://5oh3t7988jo90";
- public const string PACKAGE_NAME = "Field";
- public const string RES_NAME = "FieldUI";
- private static UI_FieldUI _proxy;
- public static UI_FieldUI Create(GObject gObject = null)
- {
- var ui = new UI_FieldUI();
- 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_FieldUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_FieldUI();
- }
- 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_btnBack = (GButton)comp.GetChild("btnBack");
- m_comValueBar = (GComponent)comp.GetChild("comValueBar");
- m_btn0 = (UI_Button1)UI_Button1.Create(comp.GetChild("btn0"));
- m_btn1 = (UI_Button1)UI_Button1.Create(comp.GetChild("btn1"));
- m_btn2 = (UI_Button1)UI_Button1.Create(comp.GetChild("btn2"));
- m_grpTab = (GGroup)comp.GetChild("grpTab");
- m_txtScore = (GTextField)comp.GetChild("txtScore");
- m_grpScore = (GGroup)comp.GetChild("grpScore");
- m_btnGo = (GButton)comp.GetChild("btnGo");
- m_txtMaxLv = (GTextField)comp.GetChild("txtMaxLv");
- m_loaConsume = (GLoader)comp.GetChild("loaConsume");
- m_txtConsume = (GTextField)comp.GetChild("txtConsume");
- m_grpconsume = (GGroup)comp.GetChild("grpconsume");
- m_btnTask = (GButton)comp.GetChild("btnTask");
- m_proTaskReward = (GProgressBar)comp.GetChild("proTaskReward");
- m_loaTaskReward = (GLoader)comp.GetChild("loaTaskReward");
- m_grpTaskReward = (GGroup)comp.GetChild("grpTaskReward");
- m_txtTime = (GTextField)comp.GetChild("txtTime");
- m_grpTime = (GGroup)comp.GetChild("grpTime");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_btnBack = null;
- m_comValueBar = null;
- m_btn0.Dispose();
- m_btn0 = null;
- m_btn1.Dispose();
- m_btn1 = null;
- m_btn2.Dispose();
- m_btn2 = null;
- m_grpTab = null;
- m_txtScore = null;
- m_grpScore = null;
- m_btnGo = null;
- m_txtMaxLv = null;
- m_loaConsume = null;
- m_txtConsume = null;
- m_grpconsume = null;
- m_btnTask = null;
- m_proTaskReward = null;
- m_loaTaskReward = null;
- m_grpTaskReward = null;
- m_txtTime = null;
- m_grpTime = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|