| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Poem{    public partial class UI_ComPhotoPostcard    {        public GComponent target;        public UI_ComTravel m_comTravel;        public UI_Button1 m_btnLock;        public UI_Button2 m_btnUp;        public GImage m_imgSelect;        public const string URL = "ui://iyz778gkwono10g";        public const string PACKAGE_NAME = "Poem";        public const string RES_NAME = "ComPhotoPostcard";        private static UI_ComPhotoPostcard _proxy;        public static UI_ComPhotoPostcard Create(GObject gObject = null)        {            var ui = new UI_ComPhotoPostcard();            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_ComPhotoPostcard Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_ComPhotoPostcard();            }            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_comTravel = (UI_ComTravel)UI_ComTravel.Create(comp.GetChild("comTravel"));            m_btnLock = (UI_Button1)UI_Button1.Create(comp.GetChild("btnLock"));            m_btnUp = (UI_Button2)UI_Button2.Create(comp.GetChild("btnUp"));            m_imgSelect = (GImage)comp.GetChild("imgSelect");        }        public void Dispose(bool disposeTarget = false)        {            m_comTravel.Dispose();            m_comTravel = null;            m_btnLock.Dispose();            m_btnLock = null;            m_btnUp.Dispose();            m_btnUp = null;            m_imgSelect = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |