Declaration
public static void DeleteEntryFromBoard(string boardId, LeaderboardEntry entry)
public static void DeleteEntryFromBoard(string boardId, string name, object value)
Parameters
string boardId |
The id of the leaderboard to find. |
LeaderboardEntry entry |
The entry to add. |
string boardId |
The id of the leaderboard to find. |
string name |
The name to associate with the entry. |
object value |
The value of the entry. |
Description
Deletes the entry from the entered leaderboard if a match is found.
Example
private void OnEnable()
{
var entry = new LeaderboardEntryScore("John Smith", 100);
LeaderboardManager.DeleteEntryFromBoard("MyBoard", entry);
}