|
@@ -0,0 +1,89 @@
|
|
|
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
|
|
+
|
|
|
+using FairyGUI;
|
|
|
+
|
|
|
+namespace UI.Field
|
|
|
+{
|
|
|
+ public partial class UI_FieldUI
|
|
|
+ {
|
|
|
+ public GComponent target;
|
|
|
+ public Controller m_c1;
|
|
|
+ public GButton m_btnBack;
|
|
|
+ public GButton m_btn0;
|
|
|
+ public GButton m_btn1;
|
|
|
+ public GButton m_btn2;
|
|
|
+ public GButton m_btnGo;
|
|
|
+ public GButton m_btnReward;
|
|
|
+ public const string URL = "ui://5oh3t7988jo90";
|
|
|
+ public const string PACKAGE_NAME = "Field";
|
|
|
+ public const string RES_NAME = "FieldUI";
|
|
|
+ private static UI_FieldUI _proxy;
|
|
|
+
|
|
|
+ public static UI_FieldUI Create(GObject gObject = null)
|
|
|
+ {
|
|
|
+ var ui = new UI_FieldUI();
|
|
|
+ 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_FieldUI Proxy(GObject gObject = null)
|
|
|
+ {
|
|
|
+ if(_proxy == null)
|
|
|
+ {
|
|
|
+ _proxy = new UI_FieldUI();
|
|
|
+ }
|
|
|
+ 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_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
+ m_btn0 = (GButton)comp.GetChild("btn0");
|
|
|
+ m_btn1 = (GButton)comp.GetChild("btn1");
|
|
|
+ m_btn2 = (GButton)comp.GetChild("btn2");
|
|
|
+ m_btnGo = (GButton)comp.GetChild("btnGo");
|
|
|
+ m_btnReward = (GButton)comp.GetChild("btnReward");
|
|
|
+ }
|
|
|
+ public void Dispose(bool disposeTarget = false)
|
|
|
+ {
|
|
|
+ m_c1 = null;
|
|
|
+ m_btnBack = null;
|
|
|
+ m_btn0 = null;
|
|
|
+ m_btn1 = null;
|
|
|
+ m_btn2 = null;
|
|
|
+ m_btnGo = null;
|
|
|
+ m_btnReward = null;
|
|
|
+ if(disposeTarget && target != null)
|
|
|
+ {
|
|
|
+ target.RemoveFromParent();
|
|
|
+ target.Dispose();
|
|
|
+ }
|
|
|
+ target = null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|