Declaration


public static void AddEntryToBoard(string boardId, LeaderboardEntry entry)

Parameters


string boardId The id of the leaderboard to find.
LeaderboardEntry entry The entry to add.

Description


Adds an entry to the leaderboard of the entered id. If it doesn’t exist it will add one.

Example


private void OnEnable()
{
		var entry = new LeaderboardEntryScore("John Smith", 100);
		LeaderboardManager.AddEntryToBoard("MyBoard", entry);
}