feat: 재화 단위 표기 수정

This commit is contained in:
aube.lee
2025-02-28 09:09:20 +09:00
parent aac71d9794
commit 2be749128e

View File

@@ -23,8 +23,8 @@ namespace TON
public void SetCashAmount() public void SetCashAmount()
{ {
goldObject.GetComponentInChildren<TextMeshProUGUI>().text = $"{PlayerDataManager.Singleton.goldAmount}"; goldObject.GetComponentInChildren<TextMeshProUGUI>().text = string.Format("{0:#,###}", PlayerDataManager.Singleton.goldAmount);
fishObject.GetComponentInChildren<TextMeshProUGUI>().text = $"{PlayerDataManager.Singleton.fishAmount}"; fishObject.GetComponentInChildren<TextMeshProUGUI>().text = string.Format("{0:#,###}", PlayerDataManager.Singleton.fishAmount);
} }
private void SetObjectActive() private void SetObjectActive()