| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 | /** 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_travellingDB_eff;        public GTextField m_txtTime;        public GGraph m_txt_eff;        public GButton m_btnTips;        public GTextField m_txtTips;        public GGroup m_grpTips;        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_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_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_travellingDB_eff = null;            m_txtTime = null;            m_txt_eff = null;            m_btnTips = null;            m_txtTips = null;            m_grpTips = 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;        }    }}
 |