Browse Source

合成进度

zhaoyang 2 years ago
parent
commit
34be5694aa

+ 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()
         {