123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ActivityAFuGift
- {
- public partial class UI_ActivityAFuGiftUI
- {
- public GComponent target;
- public Controller m_c1;
- public Controller m_btnGetState;
- public UI_Panel m_panel;
- public GButton m_btnGet;
- public GButton m_btnClose;
- public GTextField m_txtTime;
- public const string URL = "ui://f3o25i6ljm6k0";
- public const string PACKAGE_NAME = "ActivityAFuGift";
- public const string RES_NAME = "ActivityAFuGiftUI";
- private static UI_ActivityAFuGiftUI _proxy;
- public static UI_ActivityAFuGiftUI Create(GObject gObject = null)
- {
- var ui = new UI_ActivityAFuGiftUI();
- 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_ActivityAFuGiftUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ActivityAFuGiftUI();
- }
- 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_btnGetState = comp.GetController("btnGetState");
- m_panel = (UI_Panel)UI_Panel.Create(comp.GetChild("panel"));
- m_btnGet = (GButton)comp.GetChild("btnGet");
- m_btnClose = (GButton)comp.GetChild("btnClose");
- m_txtTime = (GTextField)comp.GetChild("txtTime");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_btnGetState = null;
- m_panel.Dispose();
- m_panel = null;
- m_btnGet = null;
- m_btnClose = null;
- m_txtTime = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|