Essential Kit
Loading...
Searching...
No Matches
LeaderboardDefinition

Represents an object containing additional information related to game leaderboard.

Public Member Functions

 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.
 

Properties

string Id [get]
 The string that identifies the leaderboard within Unity environment. (read-only)
 
string Title [get]
 The name of the leaderboard. (read-only)
 

Constructor & Destructor Documentation

◆ LeaderboardDefinition()

LeaderboardDefinition ( string id = null,
string platformId = null,
RuntimePlatformConstantSet platformIdOverrides = null,
string title = null,
IosPlatformProperties iosProperties = null,
AndroidPlatformProperties androidProperties = null )
Parameters
idThe string that identifies the leaderboard within Unity environment.
platformIdThe leaderboard identifier for active platform.
platformIdOverridesThe set of platform-specific leaderboard identifiers which overrides platformId .
titleThe name of the leaderboard.
iosPropertiesThe leaderboard identifier for iOS platform.
androidPropertiesThe leaderboard identifier for Android platform.