/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Travel { public partial class UI_TravelUI { public GComponent target; public Controller m_c1; public Controller m_c2; public GLoader m_loaBg; public GGraph m_bg_eff; public GComponent m_comValueBar; public GButton m_btnback; public GGraph m_db_loadingEff_holder; public GGraph m_travellingDB_eff; public GTextField m_txtTime; public GGraph m_txt_eff; public GButton m_btnTips; public GTextField m_txtTips; public GGroup m_grpTips; public GButton m_btnSpeedUp; public UI_Button2 m_btnGo; public UI_Button6 m_btnGet; public GButton m_btnPhoto; public GButton m_btnFieldGuide; public const string URL = "ui://jitclg1gwono0"; public const string PACKAGE_NAME = "Travel"; public const string RES_NAME = "TravelUI"; private static UI_TravelUI _proxy; public static UI_TravelUI Create(GObject gObject = null) { var ui = new UI_TravelUI(); 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_TravelUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_TravelUI(); } 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_c2 = comp.GetController("c2"); m_loaBg = (GLoader)comp.GetChild("loaBg"); m_bg_eff = (GGraph)comp.GetChild("bg_eff"); m_comValueBar = (GComponent)comp.GetChild("comValueBar"); m_btnback = (GButton)comp.GetChild("btnback"); m_db_loadingEff_holder = (GGraph)comp.GetChild("db_loadingEff_holder"); m_travellingDB_eff = (GGraph)comp.GetChild("travellingDB_eff"); m_txtTime = (GTextField)comp.GetChild("txtTime"); m_txt_eff = (GGraph)comp.GetChild("txt_eff"); m_btnTips = (GButton)comp.GetChild("btnTips"); m_txtTips = (GTextField)comp.GetChild("txtTips"); m_grpTips = (GGroup)comp.GetChild("grpTips"); m_btnSpeedUp = (GButton)comp.GetChild("btnSpeedUp"); m_btnGo = (UI_Button2)UI_Button2.Create(comp.GetChild("btnGo")); m_btnGet = (UI_Button6)UI_Button6.Create(comp.GetChild("btnGet")); m_btnPhoto = (GButton)comp.GetChild("btnPhoto"); m_btnFieldGuide = (GButton)comp.GetChild("btnFieldGuide"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_c2 = null; m_loaBg = null; m_bg_eff = null; m_comValueBar = null; m_btnback = null; m_db_loadingEff_holder = null; m_travellingDB_eff = null; m_txtTime = null; m_txt_eff = null; m_btnTips = null; m_txtTips = null; m_grpTips = null; m_btnSpeedUp = null; m_btnGo.Dispose(); m_btnGo = null; m_btnGet.Dispose(); m_btnGet = null; m_btnPhoto = null; m_btnFieldGuide = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }