diff --git a/Gameton-06/Assets/Gameton/Scripts/UI/OptionUI.cs b/Gameton-06/Assets/Gameton/Scripts/UI/OptionUI.cs index 0bf4da8d..1ed70dae 100644 --- a/Gameton-06/Assets/Gameton/Scripts/UI/OptionUI.cs +++ b/Gameton-06/Assets/Gameton/Scripts/UI/OptionUI.cs @@ -23,8 +23,8 @@ namespace TON public void SetCashAmount() { - goldObject.GetComponentInChildren().text = string.Format("{0:#,###}", PlayerDataManager.Singleton.goldAmount); - fishObject.GetComponentInChildren().text = string.Format("{0:#,###}", PlayerDataManager.Singleton.fishAmount); + goldObject.GetComponentInChildren().text = $"{PlayerDataManager.Singleton.goldAmount:N0}"; + fishObject.GetComponentInChildren().text = $"{PlayerDataManager.Singleton.fishAmount:N0}"; } private void SetObjectActive()