123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ActivityMain
- {
- public partial class UI_ZGTHgiftDCTipsUI
- {
- public GComponent target;
- public GLoader m_suitIcon;
- public GTextField m_txtName;
- public GList m_Itemlist;
- public UI_Button12 m_btnCharge;
- public GTextField m_timeText;
- public GButton m_btnClose;
- public GTextField m_discountText;
- public GGroup m_DiscountGroud;
- public GImage m_TipImg;
- public GLoader m_notTips;
- public Transition m_t0;
- public Transition m_t1;
- public Transition m_t4;
- public const string URL = "ui://4ht5s77uuje122";
- public const string PACKAGE_NAME = "ActivityMain";
- public const string RES_NAME = "ZGTHgiftDCTipsUI";
- private static UI_ZGTHgiftDCTipsUI _proxy;
- public static UI_ZGTHgiftDCTipsUI Create(GObject gObject = null)
- {
- var ui = new UI_ZGTHgiftDCTipsUI();
- 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_ZGTHgiftDCTipsUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ZGTHgiftDCTipsUI();
- }
- 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_suitIcon = (GLoader)comp.GetChild("suitIcon");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_Itemlist = (GList)comp.GetChild("Itemlist");
- m_btnCharge = (UI_Button12)UI_Button12.Create(comp.GetChild("btnCharge"));
- m_timeText = (GTextField)comp.GetChild("timeText");
- m_btnClose = (GButton)comp.GetChild("btnClose");
- m_discountText = (GTextField)comp.GetChild("discountText");
- m_DiscountGroud = (GGroup)comp.GetChild("DiscountGroud");
- m_TipImg = (GImage)comp.GetChild("TipImg");
- m_notTips = (GLoader)comp.GetChild("notTips");
- m_t0 = comp.GetTransition("t0");
- m_t1 = comp.GetTransition("t1");
- m_t4 = comp.GetTransition("t4");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_suitIcon = null;
- m_txtName = null;
- m_Itemlist = null;
- m_btnCharge.Dispose();
- m_btnCharge = null;
- m_timeText = null;
- m_btnClose = null;
- m_discountText = null;
- m_DiscountGroud = null;
- m_TipImg = null;
- m_notTips = null;
- m_t0 = null;
- m_t1 = null;
- m_t4 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|