Represents an object containing additional information related to game leaderboard.
|
| LeaderboardDefinition (string id=null, string platformId=null, RuntimePlatformConstantSet platformIdOverrides=null, string title=null, IosPlatformProperties iosProperties=null, AndroidPlatformProperties androidProperties=null) |
| Initializes a new instance of the LeaderboardDefinition with specified properties.
|
|
string | GetPlatformIdForActivePlatform () |
| Returns the leaderboard identifier for active platform.
|
|
|
string | Id [get] |
| The string that identifies the leaderboard within Unity environment. (read-only)
|
|
string | Title [get] |
| The name of the leaderboard. (read-only)
|
|
◆ LeaderboardDefinition()
LeaderboardDefinition |
( |
string | id = null, |
|
|
string | platformId = null, |
|
|
RuntimePlatformConstantSet | platformIdOverrides = null, |
|
|
string | title = null, |
|
|
IosPlatformProperties | iosProperties = null, |
|
|
AndroidPlatformProperties | androidProperties = null ) |
- Parameters
-
id | The string that identifies the leaderboard within Unity environment. |
platformId | The leaderboard identifier for active platform. |
platformIdOverrides | The set of platform-specific leaderboard identifiers which overrides platformId . |
title | The name of the leaderboard. |
iosProperties | The leaderboard identifier for iOS platform. |
androidProperties | The leaderboard identifier for Android platform. |