zhaoyang 2 жил өмнө
parent
commit
34cf511ea5

BIN
FGUIProject/assets/Travel/images/xqfs_ylxfdi.png


BIN
FGUIProject/assets/Travel/images/xqfs_ylxftb.png


+ 1 - 0
FGUIProject/assets/Travel/package.xml

@@ -48,6 +48,7 @@
     <image id="wono1b" name="xqfs_ylxftb.png" path="/images/"/>
     <component id="wono1c" name="Button6.xml" path="/components/"/>
     <component id="wono1d" name="ComPostcard.xml" path="/components/"/>
+    <image id="pac910f" name="xqfs_ylxfdi.png" path="/images/"/>
   </resources>
   <publish name="" path="..\GameClient\Assets\ResIn\UI\Travel" packageCount="2" genCode="true"/>
 </packageDescription>

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Travel/UI_Button6.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.Travel
+{
+    public partial class UI_Button6
+    {
+        public GButton target;
+        public Transition m_t0;
+        public const string URL = "ui://jitclg1gwono1c";
+        public const string PACKAGE_NAME = "Travel";
+        public const string RES_NAME = "Button6";
+        private static UI_Button6 _proxy;
+
+        public static UI_Button6 Create(GObject gObject = null)
+        {
+            var ui = new UI_Button6();
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_Button6 Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_Button6();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)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_t0 = comp.GetTransition("t0");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_t0 = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Travel/UI_Button6.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: adb1122559ce2ee4fb2be436fe1e7b62
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 3 - 2
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Travel/UI_TravelUI.cs

@@ -18,7 +18,7 @@ namespace UI.Travel
         public GTextField m_txtTime;
         public GGroup m_grpTime;
         public UI_Button2 m_btnGo;
-        public GButton m_btnGet;
+        public UI_Button6 m_btnGet;
         public GButton m_btnPhoto;
         public GButton m_btnFieldGuide;
         public const string URL = "ui://jitclg1gwono0";
@@ -79,7 +79,7 @@ namespace UI.Travel
             m_txtTime = (GTextField)comp.GetChild("txtTime");
             m_grpTime = (GGroup)comp.GetChild("grpTime");
             m_btnGo = (UI_Button2)UI_Button2.Create(comp.GetChild("btnGo"));
-            m_btnGet = (GButton)comp.GetChild("btnGet");
+            m_btnGet = (UI_Button6)UI_Button6.Create(comp.GetChild("btnGet"));
             m_btnPhoto = (GButton)comp.GetChild("btnPhoto");
             m_btnFieldGuide = (GButton)comp.GetChild("btnFieldGuide");
         }
@@ -97,6 +97,7 @@ namespace UI.Travel
             m_grpTime = null;
             m_btnGo.Dispose();
             m_btnGo = null;
+            m_btnGet.Dispose();
             m_btnGet = null;
             m_btnPhoto = null;
             m_btnFieldGuide = null;

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Travel/TravelView.cs

@@ -38,7 +38,7 @@ namespace GFGGame
             _ui.m_btnback.onClick.Add(OnBtnBackClick);
             // _ui.m_btnTips.onClick.Add(OnBtnTipsClick);
             _ui.m_btnGo.target.onClick.Add(OnBtnGoClick);
-            _ui.m_btnGet.onClick.Add(OnBtnGetClick);
+            _ui.m_btnGet.target.onClick.Add(OnBtnGetClick);
             _ui.m_btnPhoto.onClick.Add(OnBtnPhotoClick);
             _ui.m_btnFieldGuide.onClick.Add(OnBtnFieldGuideClick);
 

BIN
GameClient/Assets/ResIn/UI/Travel/Travel_atlas0.png


BIN
GameClient/Assets/ResIn/UI/Travel/Travel_fui.bytes