| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.OpenServerActivity{    public partial class UI_OpenSererFightItem    {        public GComponent target;        public GLoader m_loaBg;        public GLoader m_loaIcon;        public GLoader m_loaItem;        public GTextField m_txtName;        public UI_CompFlower m_comFlower;        public GImage m_imgLockBg;        public GImage m_imgLock;        public GGroup m_grpLock;        public GGroup m_comFirstPass;        public GGroup m_Panel;        public Transition m_ToLeft;        public Transition m_ToRight;        public Transition m_Left;        public const string URL = "ui://b8ha2mnsrv7eo";        public const string PACKAGE_NAME = "OpenServerActivity";        public const string RES_NAME = "OpenSererFightItem";        private static UI_OpenSererFightItem _proxy;        public static UI_OpenSererFightItem Create(GObject gObject = null)        {            var ui = new UI_OpenSererFightItem();            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_OpenSererFightItem Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_OpenSererFightItem();            }            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_loaIcon = (GLoader)comp.GetChild("loaIcon");            m_loaItem = (GLoader)comp.GetChild("loaItem");            m_txtName = (GTextField)comp.GetChild("txtName");            m_comFlower = (UI_CompFlower)UI_CompFlower.Create(comp.GetChild("comFlower"));            m_imgLockBg = (GImage)comp.GetChild("imgLockBg");            m_imgLock = (GImage)comp.GetChild("imgLock");            m_grpLock = (GGroup)comp.GetChild("grpLock");            m_comFirstPass = (GGroup)comp.GetChild("comFirstPass");            m_Panel = (GGroup)comp.GetChild("Panel");            m_ToLeft = comp.GetTransition("ToLeft");            m_ToRight = comp.GetTransition("ToRight");            m_Left = comp.GetTransition("Left");        }        public void Dispose(bool disposeTarget = false)        {            m_loaBg = null;            m_loaIcon = null;            m_loaItem = null;            m_txtName = null;            m_comFlower.Dispose();            m_comFlower = null;            m_imgLockBg = null;            m_imgLock = null;            m_grpLock = null;            m_comFirstPass = null;            m_Panel = null;            m_ToLeft = null;            m_ToRight = null;            m_Left = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |