123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ActivityMain
- {
- public partial class UI_ZGTHgiftTipsUI
- {
- public GComponent target;
- public GList m_Itemlist;
- public UI_Button13 m_btnBuy;
- public GButton m_btnClose;
- public GTextField m_timeText;
- 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://4ht5s77uuje11x";
- public const string PACKAGE_NAME = "ActivityMain";
- public const string RES_NAME = "ZGTHgiftTipsUI";
- private static UI_ZGTHgiftTipsUI _proxy;
- public static UI_ZGTHgiftTipsUI Create(GObject gObject = null)
- {
- var ui = new UI_ZGTHgiftTipsUI();
- 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_ZGTHgiftTipsUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ZGTHgiftTipsUI();
- }
- 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_Itemlist = (GList)comp.GetChild("Itemlist");
- m_btnBuy = (UI_Button13)UI_Button13.Create(comp.GetChild("btnBuy"));
- m_btnClose = (GButton)comp.GetChild("btnClose");
- m_timeText = (GTextField)comp.GetChild("timeText");
- 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_Itemlist = null;
- m_btnBuy.Dispose();
- m_btnBuy = null;
- m_btnClose = null;
- m_timeText = 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;
- }
- }
- }
|