Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

IScore

Namespace: UnityEngine.SocialPlatforms

/

Description

A game score.

It can be received from a ILeaderboard instance or using the Social.LoadScores call which uses the default leaderboard filters.

Variables

dateThe date the score was achieved.
formattedValueThe correctly formatted value of the score, like X points or X kills.
leaderboardIDThe ID of the leaderboard this score belongs to.
rankThe rank or position of the score in the leaderboard.
userIDThe user who owns this score.
valueThe score value achieved.

Functions

ReportScoreReport this score instance.