diff --git a/Assets/Scripts/ScoreBoard/ScoreUI.cs b/Assets/Scripts/ScoreBoard/ScoreUI.cs index c1880f93381df703ef886c31c3580609631ed985..e778dc3513b15a26e622d1da939025e6cb8cba06 100644 --- a/Assets/Scripts/ScoreBoard/ScoreUI.cs +++ b/Assets/Scripts/ScoreBoard/ScoreUI.cs @@ -22,7 +22,7 @@ public class ScoreUI : MonoBehaviour var row = Instantiate(rowui, transform).GetComponent<RowUI>(); row.rank.text = (i + 1).ToString(); row.name.text = scores[i].name; - row.time.text = scores[i].time.ToString(); + row.time.text = string.Format("{0:00}:{1:00}", Mathf.FloorToInt(scores[i].time / 60), Mathf.FloorToInt(scores[i].time % 60)); } } }