| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.ClothingSynthetic{    public partial class UI_Component1    {        public GComponent target;        public UI_Component2 m_compMover;        public const string URL = "ui://4f294tdkja9w1c";        public const string PACKAGE_NAME = "ClothingSynthetic";        public const string RES_NAME = "Component1";        private static UI_Component1 _proxy;        public static UI_Component1 Create(GObject gObject = null)        {            var ui = new UI_Component1();            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_Component1 Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_Component1();            }            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_compMover = (UI_Component2)UI_Component2.Create(comp.GetChild("compMover"));        }        public void Dispose(bool disposeTarget = false)        {            m_compMover.Dispose();            m_compMover = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |