| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Main{    public partial class UI_CompDialogHead    {        public GComponent target;        public GImage m_bg;        public GTextField m_txtName;        public GTextField m_txtContent;        public UI_CompArrow m_iconNext;        public UI_Component1 m_comphead;        public const string URL = "ui://mfvz4q8knmnb31";        public const string PACKAGE_NAME = "Main";        public const string RES_NAME = "CompDialogHead";        private static UI_CompDialogHead _proxy;        public static UI_CompDialogHead Create(GObject gObject = null)        {            var ui = new UI_CompDialogHead();            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_CompDialogHead Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_CompDialogHead();            }            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_bg = (GImage)comp.GetChild("bg");            m_txtName = (GTextField)comp.GetChild("txtName");            m_txtContent = (GTextField)comp.GetChild("txtContent");            m_iconNext = (UI_CompArrow)UI_CompArrow.Create(comp.GetChild("iconNext"));            m_comphead = (UI_Component1)UI_Component1.Create(comp.GetChild("comphead"));        }        public void Dispose(bool disposeTarget = false)        {            m_bg = null;            m_txtName = null;            m_txtContent = null;            m_iconNext.Dispose();            m_iconNext = null;            m_comphead.Dispose();            m_comphead = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |