| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Card{    public partial class UI_CardFosterUI    {        public GComponent target;        public Controller m_c1;        public GLoader m_loaBg;        public UI_ComImgCard m_comImgCard;        public UI_ComCardObj m_comCard;        public GLoader m_loaListener;        public GLoader m_loaListener1;        public UI_ComFosterTop m_ComFosterTop;        public UI_ComFosterBottom m_ComFosterBottom;        public GLoader m_loaGuide;        public Transition m_t0;        public Transition m_t1;        public const string URL = "ui://7l6lvkayojlzj";        public const string PACKAGE_NAME = "Card";        public const string RES_NAME = "CardFosterUI";        private static UI_CardFosterUI _proxy;        public static UI_CardFosterUI Create(GObject gObject = null)        {            var ui = new UI_CardFosterUI();            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_CardFosterUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_CardFosterUI();            }            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_loaBg = (GLoader)comp.GetChild("loaBg");            m_comImgCard = (UI_ComImgCard)UI_ComImgCard.Create(comp.GetChild("comImgCard"));            m_comCard = (UI_ComCardObj)UI_ComCardObj.Create(comp.GetChild("comCard"));            m_loaListener = (GLoader)comp.GetChild("loaListener");            m_loaListener1 = (GLoader)comp.GetChild("loaListener1");            m_ComFosterTop = (UI_ComFosterTop)UI_ComFosterTop.Create(comp.GetChild("ComFosterTop"));            m_ComFosterBottom = (UI_ComFosterBottom)UI_ComFosterBottom.Create(comp.GetChild("ComFosterBottom"));            m_loaGuide = (GLoader)comp.GetChild("loaGuide");            m_t0 = comp.GetTransition("t0");            m_t1 = comp.GetTransition("t1");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_loaBg = null;            m_comImgCard.Dispose();            m_comImgCard = null;            m_comCard.Dispose();            m_comCard = null;            m_loaListener = null;            m_loaListener1 = null;            m_ComFosterTop.Dispose();            m_ComFosterTop = null;            m_ComFosterBottom.Dispose();            m_ComFosterBottom = null;            m_loaGuide = null;            m_t0 = null;            m_t1 = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |