| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.LuckyBox{    public partial class UI_Component2    {        public GComponent target;        public Controller m_c1;        public Controller m_FlipOpenType;        public GGraph m_holder;        public GGraph m_holder1;        public GLoader m_frame;        public GGraph m_ui_eff;        public GLoader m_icon;        public GGraph m_flip_eff;        public GLoader m_rarity;        public GImage m_imgNew;        public GTextField m_txtName;        public GGraph m_click_eff;        public Transition m_t1;        public Transition m_t0;        public const string URL = "ui://drx9d1usdcrotaa";        public const string PACKAGE_NAME = "LuckyBox";        public const string RES_NAME = "Component2";        private static UI_Component2 _proxy;        public static UI_Component2 Create(GObject gObject = null)        {            var ui = new UI_Component2();            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_Component2 Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_Component2();            }            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_FlipOpenType = comp.GetController("FlipOpenType");            m_holder = (GGraph)comp.GetChild("holder");            m_holder1 = (GGraph)comp.GetChild("holder1");            m_frame = (GLoader)comp.GetChild("frame");            m_ui_eff = (GGraph)comp.GetChild("ui_eff");            m_icon = (GLoader)comp.GetChild("icon");            m_flip_eff = (GGraph)comp.GetChild("flip_eff");            m_rarity = (GLoader)comp.GetChild("rarity");            m_imgNew = (GImage)comp.GetChild("imgNew");            m_txtName = (GTextField)comp.GetChild("txtName");            m_click_eff = (GGraph)comp.GetChild("click_eff");            m_t1 = comp.GetTransition("t1");            m_t0 = comp.GetTransition("t0");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_FlipOpenType = null;            m_holder = null;            m_holder1 = null;            m_frame = null;            m_ui_eff = null;            m_icon = null;            m_flip_eff = null;            m_rarity = null;            m_imgNew = null;            m_txtName = null;            m_click_eff = null;            m_t1 = null;            m_t0 = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |