| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.DressUp{    public partial class UI_PhotographSaveUI    {        public GComponent target;        public GImage m_imgRes;        public GImage m_imgBorder;        public GButton m_btnClose;        public GButton m_btnSave;        public GButton m_btnShare;        public GButton m_btnShareWX;        public GButton m_btnShareWB;        public GButton m_btnSavePhoto;        public const string URL = "ui://mbo439wbi3ix58";        public const string PACKAGE_NAME = "DressUp";        public const string RES_NAME = "PhotographSaveUI";        private static UI_PhotographSaveUI _proxy;        public static UI_PhotographSaveUI Create(GObject gObject = null)        {            var ui = new UI_PhotographSaveUI();            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_PhotographSaveUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_PhotographSaveUI();            }            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_imgRes = (GImage)comp.GetChild("imgRes");            m_imgBorder = (GImage)comp.GetChild("imgBorder");            m_btnClose = (GButton)comp.GetChild("btnClose");            m_btnSave = (GButton)comp.GetChild("btnSave");            m_btnShare = (GButton)comp.GetChild("btnShare");            m_btnShareWX = (GButton)comp.GetChild("btnShareWX");            m_btnShareWB = (GButton)comp.GetChild("btnShareWB");            m_btnSavePhoto = (GButton)comp.GetChild("btnSavePhoto");        }        public void Dispose(bool disposeTarget = false)        {            m_imgRes = null;            m_imgBorder = null;            m_btnClose = null;            m_btnSave = null;            m_btnShare = null;            m_btnShareWX = null;            m_btnShareWB = null;            m_btnSavePhoto = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |