Эх сурвалжийг харах

筛选切号后再登录扔保留状态

zhaoyang 3 жил өмнө
parent
commit
f540c3f846

+ 1 - 1
FGUIProject/assets/FieldGuide/components/CompGuideItem.xml

@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <component size="994,236">
   <displayList>
-    <image id="n8_pjip" name="bg" src="pjip9" fileName="images/tujian_dikuang_1.png" xy="0,0"/>
     <loader id="n15_pjip" name="loaderPic" xy="15,17" size="964,202" url="ui://vqq9h9h4r0yx1v" autoSize="true"/>
+    <image id="n8_pjip" name="bg" src="pjip9" fileName="images/tujian_dikuang_1.png" xy="0,0"/>
     <loader id="n11_pjip" name="loaderTitle" xy="40,0" size="58,198" url="ui://vqq9h9h4pjip4" autoSize="true"/>
     <image id="n12_pjip" name="n12" src="pjip3" fileName="images/tujian_sjdu.png" xy="814,90"/>
     <text id="n13_pjip" name="n13" xy="834,129" size="76,34" fontSize="24" color="#fff9f0" text="收集度">

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Controller/GameController.cs

@@ -159,6 +159,7 @@ namespace GFGGame
             StudioDataManager.Instance.Clear();
             StorageDataManager.Instance.Clear();
             RechargeDataManager.Instance.Clear();
+            DressUpMenuItemDataManager.Clear();
             GameGlobal.zoneScene.GetComponent<SessionComponent>()?.Disconnect();
             GameGlobal.zoneScene.GetComponent<ServerInfosComponent>()?.ServerInfoList?.Clear();
             GameGlobal.zoneScene.GetComponent<AccountInfoComponent>()?.Clear();

+ 6 - 1
GameClient/Assets/Game/HotUpdate/Data/DressUpMenuItemDataManager.cs

@@ -25,7 +25,12 @@ namespace GFGGame
         {
             _itemDatas.Clear();
         }
-
+        public static void Clear()
+        {
+            selectRarityList.Clear();
+            selectScoreList.Clear();
+            selectTagList.Clear();
+        }
         public static void Add(int value)
         {
             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(value);

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

@@ -7,8 +7,8 @@ namespace UI.FieldGuide
     public partial class UI_CompGuideItem
     {
         public GComponent target;
-        public GImage m_bg;
         public GLoader m_loaderPic;
+        public GImage m_bg;
         public GLoader m_loaderTitle;
         public GTextField m_txtProgress;
         public const string URL = "ui://vqq9h9h4pjipe";
@@ -58,15 +58,15 @@ namespace UI.FieldGuide
 
         private void Init(GComponent comp)
         {
-            m_bg = (GImage)comp.GetChild("bg");
             m_loaderPic = (GLoader)comp.GetChild("loaderPic");
+            m_bg = (GImage)comp.GetChild("bg");
             m_loaderTitle = (GLoader)comp.GetChild("loaderTitle");
             m_txtProgress = (GTextField)comp.GetChild("txtProgress");
         }
         public void Dispose(bool disposeTarget = false)
         {
-            m_bg = null;
             m_loaderPic = null;
+            m_bg = null;
             m_loaderTitle = null;
             m_txtProgress = null;
             if(disposeTarget && target != null)

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressFilterView.cs

@@ -197,6 +197,9 @@ namespace GFGGame
         {
             base.OnHide();
             this.Hide();
+            _ui.m_listRarity.SelectNone();
+            _ui.m_listScore.SelectNone();
+            _ui.m_listTag.SelectNone();
         }
     }
 }

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