| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.CommonGame{    public partial class UI_ComHead2    {        public GComponent target;        public Controller m_c1;        public UI_ComHeadIcon m_comHead;        public GLoader m_loaBorder;        public const string URL = "ui://eg2y0ldpo9ghtlq";        public const string PACKAGE_NAME = "CommonGame";        public const string RES_NAME = "ComHead2";        private static UI_ComHead2 _proxy;        public static UI_ComHead2 Create(GObject gObject = null)        {            var ui = new UI_ComHead2();            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_ComHead2 Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_ComHead2();            }            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_c1 = comp.GetController("c1");            m_comHead = (UI_ComHeadIcon)UI_ComHeadIcon.Create(comp.GetChild("comHead"));            m_loaBorder = (GLoader)comp.GetChild("loaBorder");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_comHead.Dispose();            m_comHead = null;            m_loaBorder = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |