Explorar o código

双人战斗分数不显示玩家名

zhaoyang %!s(int64=2) %!d(string=hai) anos
pai
achega
50d67cff96

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

@@ -225,7 +225,7 @@ namespace GFGGame
 
 
             RoleInfoManager.Instance.UpdateHead(_ui.m_myHead, roleData.headId, 0);
-            _ui.m_proScore.m_txtMineScore.text = RoleDataManager.roleName + " 0";
+            _ui.m_proScore.m_txtMineScore.text = " 0";
             _mainScore = ScoreSystemData.Instance.GetMainScore(roleData);
             _roundTimes = ScoreSystemData.Instance.GetRoundTime(roleData.cardId, roleData.skillLvs);
 
@@ -527,8 +527,8 @@ namespace GFGGame
 
         private void UpdateProgress(Action onFinish)
         {
-            _ui.m_proScore.m_txtMineScore.text = RoleDataManager.roleName + " " + _score;
-            _ui.m_proScore.m_txtNpcScore.text = targetData.name + " " + _targetScore;
+            _ui.m_proScore.m_txtMineScore.text = " " + _score;
+            _ui.m_proScore.m_txtNpcScore.text = " " + _targetScore;
 
             double proportion = _score + _targetScore == 0 ? 0 : _score / (_score + _targetScore);
             float width = (float)(proportion * _ui.m_proScore.target.width);