123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.LuckyBox
- {
- public partial class UI_ComBox1
- {
- public GComponent target;
- public Controller m_showActivityType;
- public UI_ComModel m_comModel;
- public UI_Button5 m_btnGiftBag;
- public UI_ComBagTime m_comBagTime;
- public UI_Button5 m_btnShop;
- public UI_Button5 m_btnReward;
- public UI_comLuckBoxBtn m_comLuckBoxBtn;
- public GTextField m_txtCount;
- public GTextField m_txtHasTime;
- public GGroup m_grpActivityTips;
- public GLoader m_ImgUp;
- public GTextField m_txtTsyTime;
- public GTextField m_txtTime;
- public GGroup m_grpTime;
- public GGroup m_grpTitle;
- public GButton m_btnPreview;
- public GTextField m_txtOwned;
- public const string URL = "ui://drx9d1usduuftcr";
- public const string PACKAGE_NAME = "LuckyBox";
- public const string RES_NAME = "ComBox1";
- private static UI_ComBox1 _proxy;
- public static UI_ComBox1 Create(GObject gObject = null)
- {
- var ui = new UI_ComBox1();
- 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_ComBox1 Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ComBox1();
- }
- 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_showActivityType = comp.GetController("showActivityType");
- m_comModel = (UI_ComModel)UI_ComModel.Create(comp.GetChild("comModel"));
- m_btnGiftBag = (UI_Button5)UI_Button5.Create(comp.GetChild("btnGiftBag"));
- m_comBagTime = (UI_ComBagTime)UI_ComBagTime.Create(comp.GetChild("comBagTime"));
- m_btnShop = (UI_Button5)UI_Button5.Create(comp.GetChild("btnShop"));
- m_btnReward = (UI_Button5)UI_Button5.Create(comp.GetChild("btnReward"));
- m_comLuckBoxBtn = (UI_comLuckBoxBtn)UI_comLuckBoxBtn.Create(comp.GetChild("comLuckBoxBtn"));
- m_txtCount = (GTextField)comp.GetChild("txtCount");
- m_txtHasTime = (GTextField)comp.GetChild("txtHasTime");
- m_grpActivityTips = (GGroup)comp.GetChild("grpActivityTips");
- m_ImgUp = (GLoader)comp.GetChild("ImgUp");
- m_txtTsyTime = (GTextField)comp.GetChild("txtTsyTime");
- m_txtTime = (GTextField)comp.GetChild("txtTime");
- m_grpTime = (GGroup)comp.GetChild("grpTime");
- m_grpTitle = (GGroup)comp.GetChild("grpTitle");
- m_btnPreview = (GButton)comp.GetChild("btnPreview");
- m_txtOwned = (GTextField)comp.GetChild("txtOwned");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_showActivityType = null;
- m_comModel.Dispose();
- m_comModel = null;
- m_btnGiftBag.Dispose();
- m_btnGiftBag = null;
- m_comBagTime.Dispose();
- m_comBagTime = null;
- m_btnShop.Dispose();
- m_btnShop = null;
- m_btnReward.Dispose();
- m_btnReward = null;
- m_comLuckBoxBtn.Dispose();
- m_comLuckBoxBtn = null;
- m_txtCount = null;
- m_txtHasTime = null;
- m_grpActivityTips = null;
- m_ImgUp = null;
- m_txtTsyTime = null;
- m_txtTime = null;
- m_grpTime = null;
- m_grpTitle = null;
- m_btnPreview = null;
- m_txtOwned = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|