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()
Playfab leaderboards are populated based on player statistics. So this means you should update player statistics (UpdatePlayerStatistics).
If wave number is a value common to all players in the game, use instead TitleData to keep that kind of data.