Use commas for level/xp info
This commit is contained in:
@@ -677,7 +677,7 @@ public class GamePlayer : MonoBehaviour
|
||||
if (DiscordRPCHandler.Instance != null)
|
||||
DiscordRPCHandler.Instance.UpdateRPC("Playing in normal mode", $"Score: {Tools.FormatWithCommas(score)} | High Score: {Tools.FormatWithCommas(highscore)}");
|
||||
var (_, level, currentXpInLevel, totalXpForLevel, percentDone) = Tools.GetLevelInfo();
|
||||
levelText.text = $"Level: {level}" + (Application.isMobilePlatform ? " \\u2022 " : "\n") + $"XP: {currentXpInLevel}/{totalXpForLevel} ({Math.Floor(percentDone)}%)";
|
||||
levelText.text = $"Level: {Tools.FormatWithCommas(level.ToString())}" + (Application.isMobilePlatform ? " \\u2022 " : "\n") + $"XP: {Tools.FormatWithCommas(currentXpInLevel.ToString())}/{Tools.FormatWithCommas(totalXpForLevel.ToString())} ({Math.Floor(percentDone)}%)";
|
||||
}
|
||||
|
||||
void CheckIfGrounded()
|
||||
|
||||
Reference in New Issue
Block a user