123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Store
- {
- public partial class UI_GiftBagBuyUI
- {
- public GComponent target;
- public Controller m_c1;
- public GComponent m_bg;
- public GTextField m_txtName;
- public GLoader m_loaIcon;
- public GTextField m_txtLimit;
- public GList m_list;
- public GTextField m_txtEndTime;
- public GGroup m_grpEndTime;
- public GButton m_btnBuy;
- public GTextField m_txtLock;
- public GLoader m_loaPriceIcon;
- public GTextField m_txtIcon;
- public GGroup m_grpIcon;
- public GTextField m_txtOriginalPrice;
- public GTextField m_txtPrice;
- public GGroup m_grpOriginalPrice;
- public const string URL = "ui://p9mtgheo10not1v";
- public const string PACKAGE_NAME = "Store";
- public const string RES_NAME = "GiftBagBuyUI";
- private static UI_GiftBagBuyUI _proxy;
- public static UI_GiftBagBuyUI Create(GObject gObject = null)
- {
- var ui = new UI_GiftBagBuyUI();
- 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_GiftBagBuyUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_GiftBagBuyUI();
- }
- 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_bg = (GComponent)comp.GetChild("bg");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_loaIcon = (GLoader)comp.GetChild("loaIcon");
- m_txtLimit = (GTextField)comp.GetChild("txtLimit");
- m_list = (GList)comp.GetChild("list");
- m_txtEndTime = (GTextField)comp.GetChild("txtEndTime");
- m_grpEndTime = (GGroup)comp.GetChild("grpEndTime");
- m_btnBuy = (GButton)comp.GetChild("btnBuy");
- m_txtLock = (GTextField)comp.GetChild("txtLock");
- m_loaPriceIcon = (GLoader)comp.GetChild("loaPriceIcon");
- m_txtIcon = (GTextField)comp.GetChild("txtIcon");
- m_grpIcon = (GGroup)comp.GetChild("grpIcon");
- m_txtOriginalPrice = (GTextField)comp.GetChild("txtOriginalPrice");
- m_txtPrice = (GTextField)comp.GetChild("txtPrice");
- m_grpOriginalPrice = (GGroup)comp.GetChild("grpOriginalPrice");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_bg = null;
- m_txtName = null;
- m_loaIcon = null;
- m_txtLimit = null;
- m_list = null;
- m_txtEndTime = null;
- m_grpEndTime = null;
- m_btnBuy = null;
- m_txtLock = null;
- m_loaPriceIcon = null;
- m_txtIcon = null;
- m_grpIcon = null;
- m_txtOriginalPrice = null;
- m_txtPrice = null;
- m_grpOriginalPrice = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|