/** 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_comBar; 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 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_comBar = (GComponent)comp.GetChild("comBar"); 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"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_btnBack = null; m_comBar = 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; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }