|
@@ -0,0 +1,80 @@
|
|
|
+/** 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 GButton m_btnOpen;
|
|
|
+ public GRichTextField m_txtTime;
|
|
|
+ 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_btnOpen = (GButton)comp.GetChild("btnOpen");
|
|
|
+ m_txtTime = (GRichTextField)comp.GetChild("txtTime");
|
|
|
+ }
|
|
|
+ public void Dispose(bool disposeTarget = false)
|
|
|
+ {
|
|
|
+ m_titleImgType = null;
|
|
|
+ m_openType = null;
|
|
|
+ m_btnOpen = null;
|
|
|
+ m_txtTime = null;
|
|
|
+ if(disposeTarget && target != null)
|
|
|
+ {
|
|
|
+ target.RemoveFromParent();
|
|
|
+ target.Dispose();
|
|
|
+ }
|
|
|
+ target = null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|