浏览代码

修改无声诗界面

leiyasi 1 年之前
父节点
当前提交
c9c334e29e

+ 13 - 16
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/poem/UI_ComEctype.cs → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/poem/UI_Button15.cs

@@ -4,39 +4,38 @@ using FairyGUI;
 
 namespace UI.Poem
 {
-    public partial class UI_ComEctype
+    public partial class UI_Button15
     {
-        public GComponent target;
+        public GButton target;
         public Controller m_c1;
-        public GLoader m_icon;
         public GImage m_img;
-        public const string URL = "ui://iyz778gkv4822";
+        public const string URL = "ui://iyz778gkobt4tky";
         public const string PACKAGE_NAME = "Poem";
-        public const string RES_NAME = "ComEctype";
-        private static UI_ComEctype _proxy;
+        public const string RES_NAME = "Button15";
+        private static UI_Button15 _proxy;
 
-        public static UI_ComEctype Create(GObject gObject = null)
+        public static UI_Button15 Create(GObject gObject = null)
         {
-            var ui = new UI_ComEctype();
+            var ui = new UI_Button15();
             if(gObject == null)
-            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
             else
-            	ui.target =  (GComponent)gObject;
+            	ui.target =  (GButton)gObject;
             ui.Init(ui.target);
             return ui;
         }
 
-        public static UI_ComEctype Proxy(GObject gObject = null)
+        public static UI_Button15 Proxy(GObject gObject = null)
         {
             if(_proxy == null)
             {
-                _proxy = new UI_ComEctype();
+                _proxy = new UI_Button15();
             }
             var ui = _proxy;
             if(gObject == null)
-            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
             else
-            	ui.target =  (GComponent)gObject;
+            	ui.target =  (GButton)gObject;
             ui.Init(ui.target);
             return ui;
         }
@@ -58,13 +57,11 @@ namespace UI.Poem
         private void Init(GComponent comp)
         {
             m_c1 = comp.GetController("c1");
-            m_icon = (GLoader)comp.GetChild("icon");
             m_img = (GImage)comp.GetChild("img");
         }
         public void Dispose(bool disposeTarget = false)
         {
             m_c1 = null;
-            m_icon = null;
             m_img = null;
             if(disposeTarget && target != null)
             {

+ 1 - 1
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/poem/UI_ComEctype.cs.meta → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/poem/UI_Button15.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 768a03a9f0e74e441974c116fe6c7644
+guid: dec75c65aacbd134693b50115ec6951d
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 4 - 4
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/poem/UI_PoemUI.cs

@@ -9,8 +9,8 @@ namespace UI.Poem
         public GComponent target;
         public GLoader m_loaBg;
         public GButton m_btnback;
-        public UI_ComEctype m_comphoto;
-        public UI_ComEctype m_comGallery;
+        public UI_Button15 m_comphoto;
+        public UI_Button15 m_comGallery;
         public const string URL = "ui://iyz778gkv4820";
         public const string PACKAGE_NAME = "Poem";
         public const string RES_NAME = "PoemUI";
@@ -60,8 +60,8 @@ namespace UI.Poem
         {
             m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_btnback = (GButton)comp.GetChild("btnback");
-            m_comphoto = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comphoto"));
-            m_comGallery = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comGallery"));
+            m_comphoto = (UI_Button15)UI_Button15.Create(comp.GetChild("comphoto"));
+            m_comGallery = (UI_Button15)UI_Button15.Create(comp.GetChild("comGallery"));
         }
         public void Dispose(bool disposeTarget = false)
         {

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemView.cs

@@ -26,7 +26,7 @@ namespace GFGGame
             isfullScreen = true;
             isReturnView = true;
 
-            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("tjtj_bjbj");
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("bg_wss");
 
             _ui.m_btnback.onClick.Add(OnBtnBackClick);
             _ui.m_comphoto.target.onClick.Add(OnComPhotoClick);

二进制
GameClient/Assets/ResIn/UI/Poem/Poem_atlas0!a.png


二进制
GameClient/Assets/ResIn/UI/Poem/Poem_atlas0.png


二进制
GameClient/Assets/ResIn/UI/Poem/Poem_atlas0_1!a.png


二进制
GameClient/Assets/ResIn/UI/Poem/Poem_atlas0_1.png


二进制
GameClient/Assets/ResIn/UI/Poem/Poem_atlas0_2!a.png


二进制
GameClient/Assets/ResIn/UI/Poem/Poem_atlas0_2.png


二进制
GameClient/Assets/ResIn/UI/Poem/Poem_atlas0_4.png


二进制
GameClient/Assets/ResIn/UI/Poem/Poem_fui.bytes