lzx 3 天之前
父節點
當前提交
f69e9238cc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Assets/Scripts/GameUI/UI/MainHeroPnael/ItemWidgetType1.cs

+ 1 - 1
Assets/Scripts/GameUI/UI/MainHeroPnael/ItemWidgetType1.cs

@@ -51,7 +51,7 @@ namespace Fort23.Mono
             if (count > PlayerManager.Instance.BagController.GetItemCount(id))
             {
                 Text_Count.text =
-                    $"{PlayerManager.Instance.BagController.GetItemCount(id).ToStringEx()}/<color=red>{count}</color>";
+                    $"<color=red>{PlayerManager.Instance.BagController.GetItemCount(id).ToStringEx()}</color>/{count}";
             }
             else
             {