| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Studio{    public partial class UI_StudioUI    {        public GComponent target;        public GLoader m_loaBg;        public GButton m_btnBack;        public GButton m_btnHome;        public UI_ComEctype m_comMetal;        public UI_ComEctype m_comFabric;        public UI_ComEctype m_comProperty;        public UI_ComEctype m_comFiling;        public UI_ComEctype m_comPorcelain;        public const string URL = "ui://xz8kxrecrbxq0";        public const string PACKAGE_NAME = "Studio";        public const string RES_NAME = "StudioUI";        private static UI_StudioUI _proxy;        public static UI_StudioUI Create(GObject gObject = null)        {            var ui = new UI_StudioUI();            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_StudioUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_StudioUI();            }            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_loaBg = (GLoader)comp.GetChild("loaBg");            m_btnBack = (GButton)comp.GetChild("btnBack");            m_btnHome = (GButton)comp.GetChild("btnHome");            m_comMetal = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comMetal"));            m_comFabric = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comFabric"));            m_comProperty = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comProperty"));            m_comFiling = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comFiling"));            m_comPorcelain = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comPorcelain"));        }        public void Dispose(bool disposeTarget = false)        {            m_loaBg = null;            m_btnBack = null;            m_btnHome = null;            m_comMetal.Dispose();            m_comMetal = null;            m_comFabric.Dispose();            m_comFabric = null;            m_comProperty.Dispose();            m_comProperty = null;            m_comFiling.Dispose();            m_comFiling = null;            m_comPorcelain.Dispose();            m_comPorcelain = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |