submitScore

fun submitScore(leaderboardId: String, score: Int)

Submits the score to the leaderboard for the currently signed-in player. The score is ignored if it is worse (as defined by the leaderboard configuration) than a previously submitted score for the same player.

Parameters

leaderboardId

The leaderboard id.

score

The raw score value. For more details, please see this page.