leiyasi 1 год назад
Родитель
Сommit
ca433bcd2e

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/CommonGame/UI_Button21.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.CommonGame
+{
+    public partial class UI_Button21
+    {
+        public GButton target;
+        public Transition m_fadeIn;
+        public const string URL = "ui://eg2y0ldps5lgtpn";
+        public const string PACKAGE_NAME = "CommonGame";
+        public const string RES_NAME = "Button21";
+        private static UI_Button21 _proxy;
+
+        public static UI_Button21 Create(GObject gObject = null)
+        {
+            var ui = new UI_Button21();
+            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_Button21 Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_Button21();
+            }
+            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_fadeIn = comp.GetTransition("fadeIn");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_fadeIn = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/CommonGame/UI_Button21.cs.meta

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

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/FieldGuide/UI_SuitGuideUI.cs

@@ -10,6 +10,7 @@ namespace UI.FieldGuide
         public Controller m_c1;
         public GLoader m_loaBg;
         public GButton m_btnBack;
+        public GLoader m_icon;
         public GList m_suitTypeList;
         public UI_SuitTypeItems m_suitTypeItems;
         public GList m_suitType2Items;
@@ -63,6 +64,7 @@ namespace UI.FieldGuide
             m_c1 = comp.GetController("c1");
             m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_btnBack = (GButton)comp.GetChild("btnBack");
+            m_icon = (GLoader)comp.GetChild("icon");
             m_suitTypeList = (GList)comp.GetChild("suitTypeList");
             m_suitTypeItems = (UI_SuitTypeItems)UI_SuitTypeItems.Create(comp.GetChild("suitTypeItems"));
             m_suitType2Items = (GList)comp.GetChild("suitType2Items");
@@ -72,6 +74,7 @@ namespace UI.FieldGuide
             m_c1 = null;
             m_loaBg = null;
             m_btnBack = null;
+            m_icon = null;
             m_suitTypeList = null;
             m_suitTypeItems.Dispose();
             m_suitTypeItems = null;

+ 4 - 0
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/DressUpGuideView.cs

@@ -2,6 +2,7 @@
 using System;
 using System.Collections;
 using System.Collections.Generic;
+using UI.CommonGame;
 using UI.FieldGuide;
 using UnityEngine;
 
@@ -126,6 +127,9 @@ namespace GFGGame
 
             UpdateItemListUI();
             _ui.m_Refresh.Play();
+            UI_Button21 button = UI_Button21.Proxy(gObject);
+            button.m_fadeIn.Play();
+            UI_Button21.ProxyEnd();
         }
 
         private void RenderListDressUpItem(int index, GObject item)

BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_fui.bytes


BIN
GameClient/Assets/ResIn/UI/FieldGuide/FieldGuide_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/FieldGuide/FieldGuide_atlas0.png


BIN
GameClient/Assets/ResIn/UI/FieldGuide/FieldGuide_fui.bytes