Browse Source

对战表现优化

zhaoyang 3 năm trước cách đây
mục cha
commit
b6af5f92c2

+ 10 - 7
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightTargetScoreView.cs

@@ -181,8 +181,6 @@ namespace GFGGame
                 if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0 && playStop)
                 {
                     playStop = false;
-                    // _ui.m_comTargetCircle.target.visible = false;
-                    // _ui.m_comMineCircle.target.visible = false;
 
                     _ui.m_comMineCircle.m_t0.Play(CircleScoreEnd);
                     _ui.m_comTargetCircle.m_t0.Play();
@@ -219,8 +217,7 @@ namespace GFGGame
                 _speed = EquipDataCache.cacher.fieldFightSpeed;
                 _ui.m_btnBack.visible = false;
             }
-            _ui.m_btnSpeedUp.visible = _isAutoPlay;
-            _ui.m_btnSpeedUp.title = "x" + _speed;
+
 
 
             ScoreSystemData.Instance.SetEquipDicWithType();
@@ -232,6 +229,9 @@ namespace GFGGame
             _targetMainScore = fightCfg.targetMainScore;
 
             UpdateNormal();
+            _ui.m_btnSpeedUp.visible = _isAutoPlay;
+            _ui.m_btnSpeedUp.title = "x" + _speed;
+
             if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0)
             {
                 _ui.m_btnSkill0.target.touchable = false;
@@ -344,6 +344,8 @@ namespace GFGGame
             _ui.m_comMineCircle.target.visible = true;
             _ui.m_comMineCircle.m_txtPart.text = FightScoreCfgArray.Instance.GetCfg(_index + 1).name;
 
+            _gameObject13.SetActive(true);
+            _gameObject14.SetActive(true);
             _ui.m_comTargetCircle.target.visible = true;
             _ui.m_comTargetCircle.m_txtPart.text = FightScoreCfgArray.Instance.GetCfg(_index + 1).name;
             if (_index == 0 && GuideDataManager.IsGuideFinish(ConstGuideId.TARGET_FIGHT) <= 0)
@@ -396,7 +398,8 @@ namespace GFGGame
         private void CircleScoreEnd()
         {
             //当前部件评分结束
-
+            _gameObject13.SetActive(false);
+            _gameObject14.SetActive(false);
             _index++;
             if (_index >= FightScoreCfgArray.Instance.dataArray.Length)
             {
@@ -658,8 +661,8 @@ namespace GFGGame
             GTweener twenerNpc = GTween.GetTween(_ui.m_proMinusNpc, TweenPropType.Progress);
             if (twenerNpc != null) twenerNpc.Kill(true);
 
-            // _ui.m_ComShieldNpc.target.visible = false;
-            // _ui.m_ComShieldMine.target.visible = false;
+            _gameObject13.SetActive(false);
+            _gameObject14.SetActive(false);
 
             _ui.m_ComShieldMine.m_holder.visible = false;
             _ui.m_ComShieldNpc.m_holder1.visible = false;