From eee26fe4e67dbeea0e7b0b595d25660d979f2a3f Mon Sep 17 00:00:00 2001 From: "r.nikolin" Date: Wed, 25 Oct 2023 12:09:15 +0300 Subject: [PATCH] Fix Start LB Values + Random Name generator --- .../DefaultDailyLeaderboardPlayers.asset | 156 +++++++++--------- .../DefaultGlobalLeaderboardPlayers.asset | 156 +++++++++--------- Assets/Scripts/PlayerSetup.cs | 4 +- 3 files changed, 158 insertions(+), 158 deletions(-) diff --git a/Assets/Resources/DefaultDailyLeaderboardPlayers.asset b/Assets/Resources/DefaultDailyLeaderboardPlayers.asset index aafb9fd8..15596e6a 100644 --- a/Assets/Resources/DefaultDailyLeaderboardPlayers.asset +++ b/Assets/Resources/DefaultDailyLeaderboardPlayers.asset @@ -13,93 +13,93 @@ MonoBehaviour: m_Name: DefaultDailyLeaderboardPlayers m_EditorClassIdentifier: Players: - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 12" + Score: 1013 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 56" + Score: 985 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 776" + Score: 966 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 45" + Score: 959 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 488" + Score: 921 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 321" + Score: 899 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 512" + Score: 885 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 907" + Score: 843 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 33" + Score: 820 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 98" + Score: 809 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 154" + Score: 801 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 244" + Score: 791 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 7" + Score: 780 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 17" + Score: 741 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 311" + Score: 739 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 915" + Score: 723 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 98" + Score: 720 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 12" + Score: 678 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 665" + Score: 667 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 457" + Score: 657 UnlockedMonumets: [] - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + Score: 644 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 126" + Score: 632 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 341" + Score: 610 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 4" + Score: 590 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 889" + Score: 589 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 642" + Score: 565 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 712" + Score: 543 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 762" + Score: 532 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 102" + Score: 512 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 8" + Score: 499 UnlockedMonumets: [] diff --git a/Assets/Resources/DefaultGlobalLeaderboardPlayers.asset b/Assets/Resources/DefaultGlobalLeaderboardPlayers.asset index 9efeaf5d..f9bda1fd 100644 --- a/Assets/Resources/DefaultGlobalLeaderboardPlayers.asset +++ b/Assets/Resources/DefaultGlobalLeaderboardPlayers.asset @@ -13,93 +13,93 @@ MonoBehaviour: m_Name: DefaultGlobalLeaderboardPlayers m_EditorClassIdentifier: Players: - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 12" + Score: 1013 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 56" + Score: 985 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 776" + Score: 966 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 45" + Score: 959 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 488" + Score: 921 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 321" + Score: 899 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 512" + Score: 885 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 907" + Score: 843 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 33" + Score: 820 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 98" + Score: 809 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 154" + Score: 801 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 244" + Score: 791 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 7" + Score: 780 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 17" + Score: 741 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 311" + Score: 739 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 915" + Score: 723 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 98" + Score: 720 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 12" + Score: 678 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 665" + Score: 667 + UnlockedMonumets: [] + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 457" + Score: 657 UnlockedMonumets: [] - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + Score: 644 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 126" + Score: 632 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 341" + Score: 610 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 4" + Score: 590 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 889" + Score: 589 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 642" + Score: 565 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 712" + Score: 543 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 762" + Score: 532 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 102" + Score: 512 UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 - UnlockedMonumets: [] - - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 367" - Score: 0 + - Name: "\u041F\u0435\u043D\u0437\u0435\u043D\u0435\u0446 8" + Score: 499 UnlockedMonumets: [] diff --git a/Assets/Scripts/PlayerSetup.cs b/Assets/Scripts/PlayerSetup.cs index 88200a1f..6db849a8 100644 --- a/Assets/Scripts/PlayerSetup.cs +++ b/Assets/Scripts/PlayerSetup.cs @@ -10,7 +10,7 @@ public class PlayerSetup : MonoBehaviour public Player CurrentPlayer => _currentPlayer; - public string DefaultName = "Οενηενεφ 367"; + public string DefaultName = "Οενηενεφ"; private void Awake() { @@ -30,7 +30,7 @@ public class PlayerSetup : MonoBehaviour public void CreateNewPlayer() { _currentPlayer = new Player(); - _currentPlayer.Name = DefaultName; + _currentPlayer.Name = $"{DefaultName} {UnityEngine.Random.Range(1,999)}"; } public void SetPlayerName(string name)