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

套装调整,战斗数据清除问题

zhangyuqian 1 жил өмнө
parent
commit
2f0f07dc81

+ 3 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/CommonGame/UI_SuitItemUI.cs

@@ -9,13 +9,13 @@ namespace UI.CommonGame
         public GComponent target;
         public GLoader m_loaBg;
         public GLoader m_iconBg;
+        public GGraph m_downEffect;
         public GLoader m_icon;
         public GLoader m_iconBgDown;
         public GProgressBar m_probar;
         public GTextField m_txtName;
         public GGraph m_topEffect;
         public GGraph m_probarEffect;
-        public GGraph m_downEffect;
         public Transition m_t_open;
         public Transition m_t_close;
         public const string URL = "ui://eg2y0ldpcbywtqq";
@@ -67,13 +67,13 @@ namespace UI.CommonGame
         {
             m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_iconBg = (GLoader)comp.GetChild("iconBg");
+            m_downEffect = (GGraph)comp.GetChild("downEffect");
             m_icon = (GLoader)comp.GetChild("icon");
             m_iconBgDown = (GLoader)comp.GetChild("iconBgDown");
             m_probar = (GProgressBar)comp.GetChild("probar");
             m_txtName = (GTextField)comp.GetChild("txtName");
             m_topEffect = (GGraph)comp.GetChild("topEffect");
             m_probarEffect = (GGraph)comp.GetChild("probarEffect");
-            m_downEffect = (GGraph)comp.GetChild("downEffect");
             m_t_open = comp.GetTransition("t_open");
             m_t_close = comp.GetTransition("t_close");
         }
@@ -81,13 +81,13 @@ namespace UI.CommonGame
         {
             m_loaBg = null;
             m_iconBg = null;
+            m_downEffect = null;
             m_icon = null;
             m_iconBgDown = null;
             m_probar = null;
             m_txtName = null;
             m_topEffect = null;
             m_probarEffect = null;
-            m_downEffect = null;
             m_t_open = null;
             m_t_close = null;
             if(disposeTarget && target != null)

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightSingleScoreView.cs

@@ -188,6 +188,7 @@ namespace GFGGame
             _score = 0;
             _skillScore = 0;//技能附加分
             _mainScore = ScoreSystemData.Instance.GetMainScore(roleData);
+            _ui.m_comClick.m_comResult.m_t0.ClearHooks();
 
 
 
@@ -597,7 +598,6 @@ namespace GFGGame
 
         private void Skip(object param = null)
         {
-            _prefectCount = 0;
             InstanceZonesController.CheckStoryFightResult().Coroutine();
         }
         private void OnBtnBackClick()
@@ -638,6 +638,7 @@ namespace GFGGame
             _ui.m_comClick.m_comResult.m_t0.Stop(true, false);
             _ui.m_comClick.m_comResult.target.visible = false;
             _mainScore = 0;
+            _prefectCount = 0;
         }
 
 

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