Unfortunately I am not aware what these “default parameters” are, I’m not sure what scores is returned from the leaderboard. Is there anyone who is aware of a way to retrieve scores based on your own custom search query?
void ShowScoresForToday()
{
// OutputField is a Unity text element I'm using to debug this on the device
OutputField.text = "";
var leaderboardID = "leaderboard";
var log = string.Format( "Showing top score for leaderboard with id: '{0}'", leaderboardID );
Debug.Log( log );
OutputField.text = log;
var leaderboard = Social.CreateLeaderboard();
leaderboard.id = leaderboardID;
leaderboard.timeScope = TimeScope.Today;
leaderboard.LoadScores( success =>
{
var scores = leaderboard.scores;
if ( scores.Length > 0 )
{
foreach ( var score in scores )
{
var logLine = string.Format( "User with id '{0}' has a score of {1}, rank is {2}",
score.userID, score.value, score.rank );
OutputField.text += "