浏览代码

合成进度

zhaoyang 2 年之前
父节点
当前提交
34be5694aa
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      GameClient/Assets/Game/HotUpdate/Views/ClothingSynthetic/ClothingSyntheticView.cs

+ 1 - 3
GameClient/Assets/Game/HotUpdate/Views/ClothingSynthetic/ClothingSyntheticView.cs

@@ -404,9 +404,7 @@ namespace GFGGame
             int count = 0;
             int totalCount = 0;
             DressUpMenuSuitDataManager.GetSuitProgressBySuitId(_suitId, out count, out totalCount);
-            _ui.m_txtProgress.SetVar("v1", "" + count);
-            _ui.m_txtProgress.SetVar("v2", "" + totalCount);
-            _ui.m_txtProgress.FlushVars();
+            _ui.m_txtProgress.text = string.Format("{0}/{1}", count, totalCount);
         }
         private void OnClickBtnHome()
         {