123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.NewYearRedEnvelope
- {
- public partial class UI_NewYearRedEnvelopeUI
- {
- public GComponent target;
- public Controller m_titleImgType;
- public Controller m_openType;
- public GGraph m_holderTitle;
- public GGraph m_holderdoubao1;
- public GGraph m_holderdoubao2;
- public GGraph m_holderAllBg;
- public GGraph m_holderAFu;
- public GLoader m_imgTitle;
- public GButton m_btnOpen;
- public GRichTextField m_txtTime;
- public UI_Button1 m_btnDoubleGet;
- public GGraph m_holderOpenBtn;
- public GComponent m_itemReward;
- public GRichTextField m_textGetNum;
- public const string URL = "ui://pt3t9f1ujsko0";
- public const string PACKAGE_NAME = "NewYearRedEnvelope";
- public const string RES_NAME = "NewYearRedEnvelopeUI";
- private static UI_NewYearRedEnvelopeUI _proxy;
- public static UI_NewYearRedEnvelopeUI Create(GObject gObject = null)
- {
- var ui = new UI_NewYearRedEnvelopeUI();
- 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_NewYearRedEnvelopeUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_NewYearRedEnvelopeUI();
- }
- 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_titleImgType = comp.GetController("titleImgType");
- m_openType = comp.GetController("openType");
- m_holderTitle = (GGraph)comp.GetChild("holderTitle");
- m_holderdoubao1 = (GGraph)comp.GetChild("holderdoubao1");
- m_holderdoubao2 = (GGraph)comp.GetChild("holderdoubao2");
- m_holderAllBg = (GGraph)comp.GetChild("holderAllBg");
- m_holderAFu = (GGraph)comp.GetChild("holderAFu");
- m_imgTitle = (GLoader)comp.GetChild("imgTitle");
- m_btnOpen = (GButton)comp.GetChild("btnOpen");
- m_txtTime = (GRichTextField)comp.GetChild("txtTime");
- m_btnDoubleGet = (UI_Button1)UI_Button1.Create(comp.GetChild("btnDoubleGet"));
- m_holderOpenBtn = (GGraph)comp.GetChild("holderOpenBtn");
- m_itemReward = (GComponent)comp.GetChild("itemReward");
- m_textGetNum = (GRichTextField)comp.GetChild("textGetNum");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_titleImgType = null;
- m_openType = null;
- m_holderTitle = null;
- m_holderdoubao1 = null;
- m_holderdoubao2 = null;
- m_holderAllBg = null;
- m_holderAFu = null;
- m_imgTitle = null;
- m_btnOpen = null;
- m_txtTime = null;
- m_btnDoubleGet.Dispose();
- m_btnDoubleGet = null;
- m_holderOpenBtn = null;
- m_itemReward = null;
- m_textGetNum = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|