Im having issues with PlayFab, What im trying to do is have the wave number recorded and sent off to the leaderboard when the game is over but I dont know how to connect the wave number to the playfab leaderboard. I have been trying to use this line: playfabManager.SendLeaderboard(here I have to put an int) to send to the leaderboard. This is the code to get the wave number
EnemyWaveManager.Instance.GetWaveNumber()