Discord RPC

Settings menu does have a rpc but I have changes there and I don't want
to deal with that
This commit is contained in:
Lncvrt committed 2025-09-28 15:29:06 -07:00
1 parent 6e6c0ad6e5
commit 02141e09ad
12 files changed
+680 -294

No files matched your search

+1
View File
@@ -678,6 +678,7 @@ public class GamePlayer : MonoBehaviour
highScoreText.text = prefix + $"High Score: {Tools.FormatWithCommas(highscore) + suffix} \\u2022 Total Attempts: {Tools.FormatWithCommas(totalAttempts)}";
coinText.text = $"Coins: {Tools.FormatWithCommas(totalCoins)}";
if (Application.isMobilePlatform) restartButton.interactable = score != 0;
if (DiscordRPCHandler.Instance != null) DiscordRPCHandler.Instance.UpdateRPC("Playing in normal mode", $"Score: {Tools.FormatWithCommas(score)} | High Score: {Tools.FormatWithCommas(highscore)}");
}
void CheckIfGrounded()