123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.LuckyBox
- {
- public partial class UI_comLuckBoxBtn
- {
- public GComponent target;
- public Controller m_btnNumberType;
- public UI_ComCost m_comCostOne;
- public UI_ComCost m_comCostTen;
- public UI_ComCost m_comCostFifty;
- public GButton m_btnBuyOne;
- public GButton m_btnBuyTen;
- public GButton m_btnBuyFifty;
- public GTextField m_txtRemainTimes;
- public GImage m_imgSpecial;
- public GGraph m_holder;
- public GGroup m_grpSpecial;
- public GTextField m_txtFreeTime;
- public GGraph m_btnBuyTen_eff;
- public GGraph m_Special_eff;
- public const string URL = "ui://drx9d1usdkohtf7";
- public const string PACKAGE_NAME = "LuckyBox";
- public const string RES_NAME = "comLuckBoxBtn";
- private static UI_comLuckBoxBtn _proxy;
- public static UI_comLuckBoxBtn Create(GObject gObject = null)
- {
- var ui = new UI_comLuckBoxBtn();
- 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_comLuckBoxBtn Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_comLuckBoxBtn();
- }
- 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_btnNumberType = comp.GetController("btnNumberType");
- m_comCostOne = (UI_ComCost)UI_ComCost.Create(comp.GetChild("comCostOne"));
- m_comCostTen = (UI_ComCost)UI_ComCost.Create(comp.GetChild("comCostTen"));
- m_comCostFifty = (UI_ComCost)UI_ComCost.Create(comp.GetChild("comCostFifty"));
- m_btnBuyOne = (GButton)comp.GetChild("btnBuyOne");
- m_btnBuyTen = (GButton)comp.GetChild("btnBuyTen");
- m_btnBuyFifty = (GButton)comp.GetChild("btnBuyFifty");
- m_txtRemainTimes = (GTextField)comp.GetChild("txtRemainTimes");
- m_imgSpecial = (GImage)comp.GetChild("imgSpecial");
- m_holder = (GGraph)comp.GetChild("holder");
- m_grpSpecial = (GGroup)comp.GetChild("grpSpecial");
- m_txtFreeTime = (GTextField)comp.GetChild("txtFreeTime");
- m_btnBuyTen_eff = (GGraph)comp.GetChild("btnBuyTen_eff");
- m_Special_eff = (GGraph)comp.GetChild("Special_eff");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_btnNumberType = null;
- m_comCostOne.Dispose();
- m_comCostOne = null;
- m_comCostTen.Dispose();
- m_comCostTen = null;
- m_comCostFifty.Dispose();
- m_comCostFifty = null;
- m_btnBuyOne = null;
- m_btnBuyTen = null;
- m_btnBuyFifty = null;
- m_txtRemainTimes = null;
- m_imgSpecial = null;
- m_holder = null;
- m_grpSpecial = null;
- m_txtFreeTime = null;
- m_btnBuyTen_eff = null;
- m_Special_eff = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|